From: Arseny S. <am...@ic...> - 2003-01-06 09:56:46
|
Hello Sam, Monday, January 06, 2003, 12:07:57 PM, you wrote: >> > could you please try the G++ build with DEBUG_GCSAFETY? >> > (CC=gcc ./configure --with-debug) >> CC=gcc, do you mean I should set enviroinment variable CC to gcc >> before starting configure ? gcc is used anyway without it! Or it >> should be CC=g++ ? Not working - gcc is used anyway (CC=gcc in >> makefile) > g++, of course! > CC=g++ ./configure --with-debug Aha. g++ can't be used with mingw for some reason. Note - we talking about mingw build. When I do 'CC=g++ ./configure --with-mingw --with-debug' gcc is still used. And CC is not enviroinment variable like I thought. (I'll become a unix hacker soon!) Debug/mingw/gcc version doesn't crash after loading defmacro.lisp and builds ok :-(. Cygwin build is broken. Somebody has to help me with shell scripts. Sorry, what the purpose of ~'s in this shell script command ? And what is [$]0 ? Is it screened out $0 ? ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < [$]0 > $output_objdir/$soname-ltdll.c~ test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~' I got following: make[2]: Entering directory `/cygdrive/d/clisp-cvs/cygwclisp/build-cy++/libcharset/lib' /bin/sh ../libtool --mode=link g++ -o libcharset.la -rpath /usr/local/lib -version-info 1:0:0 -no-undefined localcharset.lo rm -fr .libs/libcharset.la .libs/libcharset.* .libs/libcharset.* generating symbol list for `libcharset.la' test -f .libs/cygcharset-1.dll-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < [$]0 > .libs/cygcharset-1.dll-ltdll.c eval: cannot open [$]0: no such file make[2]: *** [libcharset.la] Error 1 make[2]: Leaving directory `/cygdrive/d/clisp-cvs/cygwclisp/build-cy++/libcharset/lib' make[1]: *** [all] Error 2 make[1]: Leaving directory `/cygdrive/d/clisp-cvs/cygwclisp/build-cy++/libcharset' make: *** [libcharset.h] Error 2 -- Best regards, Arseny |