|
From: Bruno H. <br...@cl...> - 2005-06-01 12:26:18
|
Yaroslav Kavenchuk wrote: > error.o(.text+0x1a1e):error.c: undefined reference to `errno' > error.o(.text+0x1a29):error.c: undefined reference to `errno' > error.o(.text+0x1a7c):error.c: undefined reference to `errno' > error.o(.text+0x1a8a):error.c: undefined reference to `errno' > collect2: ld returned 1 exit status > make: *** [lisp.exe] Error 1 The errno variable is normally defined in the ANSI C runtime library, which on Woe32 is msvcrt.dll. > gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit > -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 > -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -I. -x none spvw.o > spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o > stream.o socket.o io.o array.o hashtabl.o list.o package.o record.o > weak.o sequence.o charstrg.o debug.o error.o misc.o time.o > predtype.o symbol.o lisparit.o i18n.o foreign.o win32aux.o built.o > ari80386.o modules.o /usr/local/lib/libintl.a /usr/local/lib/libiconv.a > libcharset.a libavcall.a libcallback.a -luser32 -lws2_32 -lole32 > -loleaut32 -luuid /usr/local/lib/libiconv.a -L/usr/local/lib -lsigsegv > -o lisp.exe I would expect that "gcc -mno-cygwin" links against msvcrt. Does it not? Does it need special options to do so? Bruno |