public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: -b vs -bundle
@ 2005-08-01 20:47 Jack Howarth
  2005-08-01 20:52 ` Geoff Keating
  0 siblings, 1 reply; 10+ messages in thread
From: Jack Howarth @ 2005-08-01 20:47 UTC (permalink / raw)
  To: geoffk, howarth; +Cc: gcc

Geoff,
   What I don't understand is how Apple's compiler can parse the
-bundle as the first argument and the gnu gcc compiler can't. 
Shouldn't the same mechanism Apple uses to allow this to work
be backportable into gnu gcc?
         Jack

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: -b vs -bundle
@ 2005-08-01 21:27 Jack Howarth
  0 siblings, 0 replies; 10+ messages in thread
From: Jack Howarth @ 2005-08-01 21:27 UTC (permalink / raw)
  To: geoffk, howarth; +Cc: gcc

Geoff,
   The problem is that I haven't ever submitted any paperwork so
anything I touch will be tainted. If you could post a revised patch
that applies to gcc main trunk, I'll test it locally and confirm
that it works.
          Jack

^ permalink raw reply	[flat|nested] 10+ messages in thread
* -b vs -bundle
@ 2005-07-31 19:06 Jack Howarth
  2005-08-01 20:28 ` Geoff Keating
  2005-08-04  4:30 ` James E Wilson
  0 siblings, 2 replies; 10+ messages in thread
From: Jack Howarth @ 2005-07-31 19:06 UTC (permalink / raw)
  To: geoffk; +Cc: gcc

      In compiling xplor-nih under the gcc/g++ of 4.1 branch instead
of Apple's gcc/g++ 4.0 compilers from Xcode 2.1, I noticed that the
gnu gcc compiler doesn't gracefully handle the -bundle flag. On Apple's
compiler I can have a Makefile entry like...

createSharedModule = $(CXX) -bundle  \
        -flat_namespace -undefined suppress $^ -o $@

and it compiles the shared module without error. However I see the
error...

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

with the gnu gcc compiler. I noticed that you rejected a proposed patch
a few years ago...

http://gcc.gnu.org/ml/gcc-patches/2002-12/msg00655.html
http://gcc.gnu.org/ml/gcc-patches/2002-10/msg01961.html

Could you revisit this issue and see if something could be done for 4.0
and 4.1 branch? I would think that either the compiler should require the
-b flag to have a space before the machine name. Alternatively if the
gnu gcc compiler mustn't allow -bundle to be the first argument passed
to the compiler, it should at least treat that as a defined error rather
than producing the cryptic one it does now. Thanks in advance for looking
at this again.
                    Jack

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

end of thread, other threads:[~2005-08-07  2:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-01 20:47 -b vs -bundle Jack Howarth
2005-08-01 20:52 ` Geoff Keating
  -- strict thread matches above, loose matches on Subject: below --
2005-08-01 21:27 Jack Howarth
2005-07-31 19:06 Jack Howarth
2005-08-01 20:28 ` Geoff Keating
2005-08-04  4:30 ` James E Wilson
2005-08-04 12:44   ` Peter O'Gorman
2005-08-05  3:14     ` James E Wilson
2005-08-05  3:57       ` Peter O'Gorman
2005-08-07  2:42         ` James E Wilson

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).