On Friday, October 25, 2002, at 01:17 AM, Max Horn wrote:
Well, I just had a play with this... unfortunately Apple's preprocessor ignores these env vars, so setting CFLAGS only works if -no-cpp-precomp is specified, which it currently isn't by default.
What do you people think? My suggestion would be to try that ASAP. I could disable the default values of CPPFLAGS/LDFLAGS and instead give default values to CPATH/LIBRARY_PATH. That's 5 minutes to change it (and also 5 minutes to back it out if it works badly :-). The major issue with this is that we should basically recompile *every single package*. I don't see why it should break anything, but you never know for sure. On the positive side, it should allow us to get rid of various fixes/patches, and also should prevent certain typical problems from cropping up in the future.
Your feedback is welcome :-)
Setting LIBRARY_PATH appears to work fine as long as (g)cc is used to do the linking. (which it is in the vast majority of cases).
So the solution will probably not work... the default CPPFLAGS could be changed to be "-isystem %p/include" or, set the CFLAGS var and make sure the CPPFLAGS has -no-cpp-precomp.
Peter
-------------------------------------------------------
This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel