strange error on gcc 4.1.0
Andreas Schwab
schwab@suse.de
Sat Jul 30 09:50:00 GMT 2005
howarth@bromo.msbb.uc.edu (Jack Howarth) writes:
> I am trying to build xplor-nih on MacOS X 10.4 using gcc 4.1.0
> branch's gcc and g++ instead of Apple's and am running into a really
> strange error. I find the following linkage fails...
>
> g++-4 -bundle -flat_namespace -undefined suppress _xplorWrap.o libswigpy-xplor.dylib -o _xplorWrap.so -L/Users/howarth/Desktop/xplor-nih-2.11.2.1/bin.Darwin_8/ -lcommon -lnmrPot -lintVar -lvmd -lpy -lswigpy-xplor \
$ info gcc 'Target Options'
[...]
`-b MACHINE'
The argument MACHINE specifies the target machine for compilation.
[...]
The `-V' and `-b' options work by running the
`<machine>-gcc-<version>' executable, so there's no real reason to use
them if you can just run that directly.
> Shouldn't the stock gcc 4.1.0 support the -bundle flag?
It's an Apple-specific flag.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, MaxfeldstraÃe 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Gcc
mailing list