Bug 21366 - The -bundle linking option does not get processed right on darwin
: The -bundle linking option does not get processed right on darwin
Status: RESOLVED FIXED
Product: gcc
Classification: Unclassified
Component: driver
: 4.1.0
: P2 normal
: 4.1.0
Assigned To: Not yet assigned to anyone
:
:
:
:
  Show dependency treegraph
 
Reported: 2005-05-03 18:45 UTC by Andreas Tobler
Modified: 2005-08-23 01:53 UTC (History)
1 user (show)

See Also:
Host: powerpc-apple-darwin*
Target: powerpc-apple-darwin*
Build: powerpc-apple-darwin*
Known to work: 4.1.0
Known to fail:
Last reconfirmed: 2005-05-09 21:10:37


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Tobler 2005-05-03 18:45:22 UTC
When compiling a module with -bundle the -bundle does not get passed right.
It results in an unknown option "undle".
Comment 1 Andrew Pinski 2005-05-09 21:10:37 UTC
Confirmed.  There was a patch posted for this somewhere.
Comment 2 Andrew Pinski 2005-07-30 16:08:59 UTC
Patches posted here:
http://gcc.gnu.org/ml/gcc-patches/2002-10/msg01961.html
and
http://gcc.gnu.org/ml/gcc-patches/2002-12/msg00655.html

I did not read through the whole thread to figure out what happened to the patch.
Comment 3 Peter O'Gorman 2005-08-04 12:52:03 UTC
New(ish) patch:
http://gcc.gnu.org/ml/gcc-patches/2005-08/msg00266.html
Comment 4 CVS Commits 2005-08-07 02:39:20 UTC
Subject: Bug 21366

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	wilson@gcc.gnu.org	2005-08-07 02:39:16

Modified files:
	gcc            : ChangeLog gcc.c 
	gcc/doc        : invoke.texi 

Log message:
	Make Darwin -bundle option work.  Patch from Peter O'Gorman.
	PR 21366
	* gcc.c (process_command): Check the argument to -b has a dash.
	* doc/invoke.texi: Update -b and -V docs.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9672&r2=2.9673
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gcc.c.diff?cvsroot=gcc&r1=1.469&r2=1.470
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/invoke.texi.diff?cvsroot=gcc&r1=1.665&r2=1.666

Comment 5 Jim Wilson 2005-08-07 02:41:10 UTC
Fixed on mainline.