On 2007-08-21 22:15:08 -0400, Jay Sachs wrote: > What about: > > gcc -nostdinc \ > -isystem /usr/lib/gcc/i686-apple-darwin8/4.0.1/include \ > -isystem /usr/include \ > -isystem /System/Library/Frameworks \ > -isystem /Library/Frameworks > > ? It'd be nice not to hardcode this -- it could be determined dynamically > by examining the output of `cpp -v` and filtering out /usr/local/include.
Perhaps. But this is really a hack. > It seems possible from the man page to do the same for libraries: > > gcc -Z -L /standard/path1 -L /standard/path2 .... The -Z option is not listed in my gcc-4.0.1 man page (from Xcode). Unfortunately there doesn't seem to be an easy way to get consistent include and library search paths with gcc. -- Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon) _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo/macports-users
