public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: strange error on gcc 4.1.0
@ 2005-07-30 16:15 Jack Howarth
  0 siblings, 0 replies; 9+ messages in thread
From: Jack Howarth @ 2005-07-30 16:15 UTC (permalink / raw)
  To: howarth, pinskia; +Cc: gcc, schwab

Here is another posting which describes the problem a little clearer...

http://lists.apple.com/archives/darwin-development/2003/Jun/msg00000.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 be fairly simple? Just requiring that the
code that recognizes the -b flag require a trailing space after
the -b flag...otherwise it passes over it so that -bundle could be
recognized?
              Jack

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: strange error on gcc 4.1.0
@ 2005-07-30 16:22 Jack Howarth
  0 siblings, 0 replies; 9+ messages in thread
From: Jack Howarth @ 2005-07-30 16:22 UTC (permalink / raw)
  To: howarth, pinskia; +Cc: gcc, schwab

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

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: strange error on gcc 4.1.0
@ 2005-07-30 15:55 Jack Howarth
  2005-07-30 16:09 ` Andrew Pinski
  0 siblings, 1 reply; 9+ messages in thread
From: Jack Howarth @ 2005-07-30 15:55 UTC (permalink / raw)
  To: howarth, pinskia; +Cc: gcc, schwab

   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

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: strange error on gcc 4.1.0
@ 2005-07-30 13:42 Jack Howarth
  2005-07-30 15:18 ` Andrew Pinski
  0 siblings, 1 reply; 9+ messages in thread
From: Jack Howarth @ 2005-07-30 13:42 UTC (permalink / raw)
  To: howarth, schwab; +Cc: gcc

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 
supported). Fortunately MacOS X 10.4 now supports a more linux-like dyload
that can use standard dynamic libraries .so files instead of just bundles
for shared library modules.
              Jack

^ permalink raw reply	[flat|nested] 9+ messages in thread
* strange error on gcc 4.1.0
@ 2005-07-30  8:47 Jack Howarth
  2005-07-30  9:50 ` Andreas Schwab
  0 siblings, 1 reply; 9+ messages in thread
From: Jack Howarth @ 2005-07-30  8:47 UTC (permalink / raw)
  To: gcc

   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 \
             -lcrypto -L/Users/howarth/Desktop/xplor-nih-2.11.2.1/bin.Darwin_8/
g++-4: couldn't run 'undle-gcc-4.1.0': No such file or directory

I can't find any evidence of a undle-gcc-4.1.0 file in my build directory
for the current gcc main trunk cvs from which I built the installed
gcc 4.1.0 compiler. Shouldn't the stock gcc 4.1.0 support the -bundle
flag? Any idea why this flag isn't working?
             Jack

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-07-31  4:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-30 16:15 strange error on gcc 4.1.0 Jack Howarth
  -- strict thread matches above, loose matches on Subject: below --
2005-07-30 16:22 Jack Howarth
2005-07-30 15:55 Jack Howarth
2005-07-30 16:09 ` Andrew Pinski
2005-07-31  4:44   ` Mike Stump
2005-07-30 13:42 Jack Howarth
2005-07-30 15:18 ` Andrew Pinski
2005-07-30  8:47 Jack Howarth
2005-07-30  9:50 ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).