Hi,
I am trying to get GNU Smalltalk to compile with JIT compilation. While
I still haven't been able to do so (see my post on the lightning mailing
list for those interested), I have at least found one problematic cause:
When trying to use the system-installed Lightning, I run into the
problem that GNU Smalltalk's build directory is prioritised above the
system include directory (because of "-I ." in CPPFLAGS) and that the
build directory also contains a subdirectory "lightning". This leads to
the situation that lines like
#include "lightning/foo.h"
in, say, /usr/include/lightning.h actually are resolved as
"$(build_dir)/lightning/foo.h", which is probably not what we want as it
leads to version mismatch problems. A possible solution is to rename the
"lightning" directory in GNU Smalltalk's build directory, in which case
compilation works just fine (except for the problems mentioned in the
lightning mailing list, but those are not related), or to move it in a
subdirectory like "lib" or "extern".
Regards,
Denis
_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk