Re: strange error on gcc 4.1.0

2005-07-30 Thread Mike Stump
On Saturday, July 30, 2005, at 09:09 AM, Andrew Pinski wrote: But I don't know what happened to it or came up from the discussion. Looks like no response to Geoff's last comment. If someone wants to address his stated concerns and resubmit it... otherwise, -Wl,-bundle should do the trick.

Re: strange error on gcc 4.1.0

2005-07-30 Thread Jack Howarth
Thanks. It applies with offsets to the current 4.0 branch. Hopefully we can get it in both branches soon. Currently everyone on Darwin is just hacking their Makefiles around the problem. Jack

Re: strange error on gcc 4.1.0

2005-07-30 Thread Jack Howarth
Here is another posting which describes the problem a little clearer... http://lists.apple.com/archives/darwin-development/2003/Jun/msg0.html So gcc needs to be fixed to not misparse -bundle, when it is the first argument to gcc, as being the "-b Machine" target option. Shouldn't the fix

Re: strange error on gcc 4.1.0

2005-07-30 Thread Andrew Pinski
On Jul 30, 2005, at 11:52 AM, Jack Howarth wrote: I can't find a patch either using google but I did find the following posting which describes the problem and a workaround... http://www.mail-archive.com/fink-devel@lists.sourceforge.net/ msg10604.html I finally found the patch: http://

Re: strange error on gcc 4.1.0

2005-07-30 Thread Jack Howarth
I can't find a patch either using google but I did find the following posting which describes the problem and a workaround... http://www.mail-archive.com/fink-devel@lists.sourceforge.net/msg10604.html Jack

Re: strange error on gcc 4.1.0

2005-07-30 Thread Andrew Pinski
> > Andreas, > Are you sure gnu gcc shouldn't support this? I see -bundle under the > Machine Dependent Options under Darwin options which are not marked as > APPLE-ONLY. I understood that to mean that it should be present in the > gnu gcc compiler (like -all_load which is in the same list an

Re: strange error on gcc 4.1.0

2005-07-30 Thread Jack Howarth
Andreas, Are you sure gnu gcc shouldn't support this? I see -bundle under the Machine Dependent Options under Darwin options which are not marked as APPLE-ONLY. I understood that to mean that it should be present in the gnu gcc compiler (like -all_load which is in the same list and is support

Re: strange error on gcc 4.1.0

2005-07-30 Thread Andreas Schwab
[EMAIL PROTECTED] (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 _xplorWra

strange error on gcc 4.1.0

2005-07-30 Thread Jack Howarth
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/Use