On Sun, Oct 31, 2010 at 5:49 PM, john skaller <skal...@users.sourceforge.net> wrote: > 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.
I can't find any direct way to get to those gcc paths. What do you need them for? > 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 :) fbuild can do simple substitutions too, so even flx.py and flx.sh could get the install root through fbuild. > BTW2: hope you had a good "vacation" :) Thanks! It was fun, but crazy crowded: http://geoeyemediaportal.s3.amazonaws.com/assets/images/gallery/ge1/hires/national_mall_washington_dc_10_30_10.jpg ------------------------------------------------------------------------------ Achieve Improved Network Security with IP and DNS Reputation. Defend against bad network traffic, including botnets, malware, phishing sites, and compromised hosts - saving your company time, money, and embarrassment. Learn More! http://p.sf.net/sfu/hpdev2dev-nov _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language