Changeset 13407 in project for chicken


Ignore:
Timestamp:
02/25/09 20:02:53 (11 years ago)
Author:
elf
Message:

fixing the makefile for mingw again. please stop changing it back. fix the
crosscompilation script instead of reverting the changes, so people who arent
crosscompiling can actually build chicken.
fixed C_TARGET_MORE_LIBS definition.
chicken-setup currently broken on mingw.

Location:
chicken/branches/chicken-3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chicken/branches/chicken-3/Makefile.mingw

    r12452 r13407  
    5252C_COMPILER_GUI_RUNTIME_OPTIONS = -DC_WINDOWS_GUI
    5353LINKER_LINK_SHARED_LIBRARY_OPTIONS = -shared
    54 LIBRARIES = -lm -lws2_32
     54LIBRARIES = -lm -lkernel32 -luser32 -lgdi32 -lws2_32
    5555LIBCHICKEN_SO_LINKER_OPTIONS = -Wl,--out-implib,libchicken.dll.a
    5656LIBUCHICKEN_SO_LINKER_OPTIONS = -Wl,--out-implib,libuchicken.dll.a
    5757LIBCHICKENGUI_SO_LINKER_OPTIONS = -Wl,--out-implib,libchickengui.dll.a
    58 LIBCHICKEN_SO_LIBRARIES = -lm -lws2_32
    59 LIBUCHICKEN_SO_LIBRARIES = -lm -lws2_32
     58LIBCHICKEN_SO_LIBRARIES = -lm -lkernel32 -luser32 -lgdi32 -lws2_32
     59LIBUCHICKEN_SO_LIBRARIES = -lm -lkernel32 -luser32 -lgdi32 -lws2_32
    6060LIBCHICKENGUI_SO_LIBRARIES = -lm -lkernel32 -luser32 -lgdi32 -lws2_32
    6161LIBCHICKENGUI_IMPORT_LIBRARY = libchickengui.dll.a
     
    149149        echo #endif >>$@
    150150        echo #ifndef C_INSTALL_LIB_HOME >>$@
    151         echo # define C_INSTALL_LIB_HOME "$(ILIBDIR)" >>$@
     151        echo # define C_INSTALL_LIB_HOME "$(IBINDIR)" >>$@
    152152        echo #endif >>$@
    153153        echo #ifndef C_INSTALL_STATIC_LIB_HOME >>$@
     
    191191        echo #endif >>$@
    192192        echo #ifndef C_TARGET_LIB_HOME >>$@
    193         echo # define C_TARGET_LIB_HOME "$(TARGET_PREFIX)\\lib" >>$@
     193        echo # define C_TARGET_LIB_HOME "$(TARGET_PREFIX)\\bin" >>$@
    194194        echo #endif >>$@
    195195        echo #ifndef C_TARGET_RUN_LIB_HOME >>$@
    196         echo # define C_TARGET_RUN_LIB_HOME "$(TARGET_PREFIX)\\lib" >>$@
     196        echo # define C_TARGET_RUN_LIB_HOME "$(TARGET_PREFIX)\\bin" >>$@
    197197        echo #endif >>$@
    198198        echo #ifndef C_TARGET_SHARE_HOME >>$@
  • chicken/branches/chicken-3/chicken-setup.scm

    r13143 r13407  
    7171
    7272#ifndef C_TARGET_MORE_LIBS
    73 # define C_TARGET_MORE_LIBS  C_INSTALL_LIB_HOME
     73# define C_TARGET_MORE_LIBS  C_INSTALL_MORE_LIBS
    7474#endif
    7575
Note: See TracChangeset for help on using the changeset viewer.