On 01/set/07, at 01:26, Ryan Schmidt wrote:
On Aug 31, 2007, at 09:48, Anders F Björklund wrote:
On Aug 31, 2007, at 09:41, Chiara Sandionigi wrote:
On Aug 30, 2007, at 12:46, Anders F Björklund wrote:
Chiara Sandionigi wrote:
I need to install GNU Binutils but I get the following error
during
installation
cc: unrecognized option '-no-cpp-precomp'
This flag shouldn't be needed for Panther and beyond (gcc-3.3+)
However, my Apple GCC compiler still seems to recognize it.
What platform are you trying to build the binutils port on ?
I work on a MacBook with Mac OS X 10.4 and with gcc 4.2.1
Ah, OK... The Portfile is probably not set up to handle the
FSF GCC but assumes you are using the Apple GCC (/usr/bin/gcc).
If you have such a non-standard gcc in your path, then you'll
probably run into port problems with more than just binutils ?
I suggest moving GCC 4.2.1 out of the default paths at least.
But the port should probably not add -cpp-precomp for new GCC,
and it will fail with the FSF GCC (including other platforms).
Not sure how to do it in Tcl, but could be done with "system".
I have submitted a ticket:
http://trac.macosforge.org/projects/macports/ticket/12584
Now I'm using Apple GCC 4.0.1, but I have another error
cc1: error: unrecognized command line option
"-Wc++-compat"_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev