[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] Lightning inclusion problem

From: Denis Washington
Subject: [Help-smalltalk] Lightning inclusion problem
Date: Mon, 10 Jan 2011 20:29:17 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101230 Lanikai/3.1.7


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".


reply via email to

[Prev in Thread] Current Thread [Next in Thread]