From: Michael K. <mic...@gm...> - 2011-08-18 17:05:41
|
On 08/18/2011 06:44 PM, Sam Steingold wrote: >> * Michael Kappert<zvp...@tz...> [2011-08-18 17:56:47 +0200]: >> >> On 08/18/2011 05:48 PM, Sam Steingold wrote: >>> Michael, could you please try the command line above but with >>> libgnu,a__before__ all the -l* arguments? >>> >> I already tried that, but invoked it in the wrong directory/wrong >> environment - it complained about missing object files. >> Where and how do I need to run the command? (This is why I asked how the >> command is contructed - my idea was to change the corresponding Makefile >> or script). > > it is called from clisp-link. > you need to edit Makefile and remove "rm -rf base" on failure so that > even when clisp-link fails, base/ is preserved. > then you copy/paste the command from the screen and edit it. > > Ok! libgnu.a must come directly after lisp.a. This command works: gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -O2 -fexpensive-optimizations -falign-functions=4 -D_WIN32 -DENABLE_UNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_MODULES -DDLL_EXPORT -DPIC -Wl,--export-all-symbols modules.o regexi.o calls.o bogomips.o -luser32 -lole32 -loleaut32 -luuid gettext.o lisp.a libgnu.a lisp.def -lintl -luser32 -lole32 -loleaut32 -luuid -liconv -L/usr/local/lib -lsigsegv -lws2_32 -o lisp.exe Michael |