Erick, I have just had to hack the webserver with gcc and platform specific 
path info:

var C_PATH=list(
  INSTALL_ROOT+"/lib/rtl",
  "/usr/local/include",
  "/usr/include",
  "/usr/include/c++/4.2.1", // a hack until cmd line option or env can 
extend/set the path
  "/usr/include/c++/4.2.1/x86_64-apple-darwin10" // oh yeah, a worse hack!
);

so I can find C++ header files like <string> etc. At present the user can't set 
the C_PATH,
which I will fix at some stage. However even if they could, they'd need to know
more than I do about how to find out the path gcc/g++ uses to find include 
files.

I wonder if the build system can figure this out.

BTW: soon I may also want to move all the *.fpc generation into fbuildroot.py,
so I can get rid of interscript. Apart from flx.py and flx.sh, which need to 
know
the install root and other config stuff, there's little left for interscript to 
do.

The flx harness now uses the standard library to get the configuration
information, interscript writes the file plat/config.flx to contain it,
but this could easily be done by fbuildroot.py.

Also adding the above gcc/g++ path info I need for the webserver
at the same time :)

BTW2: hope you had a good "vacation" :)

--
john skaller
skal...@users.sourceforge.net





------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to