Re: Got my name in the list
Bruno Haible <[email protected]>
| Newsgroups | gmane.lisp.clisp.devel |
|---|---|
| Message-ID | <11160633.P1OLYjnyuo@omega> |
> Are the other flags necessary as pointed by Don Cohen? :
> > gcc -m64 -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wreturn-type
> -Wmissing-declarations -Wimplicit -Wno-sign-compare -Wno-format-nonliteral
> -Wno-shift-negative-value -fwrapv -pthread -fno-strict-aliasing -ggdb -O0
> -DDEBUG_OS_ERROR -DDEBUG_SPVW -DDEBUG_BYTECODE -DSAFETY=3 -DENABLE_UNICODE
> -DMULTITHREAD -DPOSIX_THREADS -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI
> -DDYNAMIC_MODULES -Wl,--export-dynamic ...
>
> instead my build compiles like this:
> gcc -ggdb -Wl,--export-dynamic ...
Here's your problem. The compilation is being done without the various important
flags:
-DSAFETY=3 - necessary so it doesn't crash soon, for various possible reasons
-DMULTITHREAD - necessary for the topic on which you want to work
-DDYNAMIC_FFI - you should better omit this in the first time; it's complexity
that you don't need for your work
and so on.
There are two known good ways to pass CFLAGS:
- when you invoke configure
- later, by editing the Makefile.
"make CFLAGS+=-ggdb" is not among the ways I ever tried.
Bruno
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel