This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: strange error on gcc 4.1.0
- From: Andreas Schwab <schwab at suse dot de>
- To: howarth at bromo dot msbb dot uc dot edu (Jack Howarth)
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 30 Jul 2005 11:50:43 +0200
- Subject: Re: strange error on gcc 4.1.0
- References: <20050730084400.625CD1DC154@bromo.msbb.uc.edu>
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."