public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/29270] New: "--" does not end option parsing
@ 2006-09-28 11:16 schwab at suse dot de
2006-09-28 11:21 ` [Bug driver/29270] " schwab at suse dot de
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: schwab at suse dot de @ 2006-09-28 11:16 UTC (permalink / raw)
To: gcc-bugs
$ gcc hello.c -- -MM
hello.o: hello.c
gcc: ambiguous abbreviation --
--
Summary: "--" does not end option parsing
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: driver
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: schwab at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29270
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug driver/29270] "--" does not end option parsing
2006-09-28 11:16 [Bug driver/29270] New: "--" does not end option parsing schwab at suse dot de
@ 2006-09-28 11:21 ` schwab at suse dot de
2006-09-28 14:59 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: schwab at suse dot de @ 2006-09-28 11:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from schwab at suse dot de 2006-09-28 11:21 -------
See also the thread at
<http://lists.gnu.org/archive/html/automake/2006-09/msg00081.html>.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29270
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug driver/29270] "--" does not end option parsing
2006-09-28 11:16 [Bug driver/29270] New: "--" does not end option parsing schwab at suse dot de
2006-09-28 11:21 ` [Bug driver/29270] " schwab at suse dot de
@ 2006-09-28 14:59 ` pinskia at gcc dot gnu dot org
2006-09-28 15:04 ` joseph at codesourcery dot com
2006-10-02 17:46 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-28 14:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-09-28 14:59 -------
Hmm, one problem is that we need to know when we should pass -- on to cc1, etc.
also. For an example:
gcc t.c -- -l.c
is that -l.c a c source or a library for ld to have at and how do we invoke ld
then:
with "-- -l.c" or just "-l.c"
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29270
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug driver/29270] "--" does not end option parsing
2006-09-28 11:16 [Bug driver/29270] New: "--" does not end option parsing schwab at suse dot de
2006-09-28 11:21 ` [Bug driver/29270] " schwab at suse dot de
2006-09-28 14:59 ` pinskia at gcc dot gnu dot org
@ 2006-09-28 15:04 ` joseph at codesourcery dot com
2006-10-02 17:46 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: joseph at codesourcery dot com @ 2006-09-28 15:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from joseph at codesourcery dot com 2006-09-28 15:04 -------
Subject: Re: "--" does not end option parsing
On Thu, 28 Sep 2006, pinskia at gcc dot gnu dot org wrote:
> Hmm, one problem is that we need to know when we should pass -- on to cc1, etc.
> also. For an example:
>
> gcc t.c -- -l.c
>
> is that -l.c a c source or a library for ld to have at and how do we invoke ld
> then:
> with "-- -l.c" or just "-l.c"
It's a source file - everything after -- should be a source or object file
according to the suffix. -lfoo would mean that an object file called
literally -lfoo is to be linked, not libfoo.a. You could either pass --
to ld or change -lfoo to ./-lfoo.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29270
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug driver/29270] "--" does not end option parsing
2006-09-28 11:16 [Bug driver/29270] New: "--" does not end option parsing schwab at suse dot de
` (2 preceding siblings ...)
2006-09-28 15:04 ` joseph at codesourcery dot com
@ 2006-10-02 17:46 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-02 17:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2006-10-02 17:46 -------
Confirmed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-10-02 17:46:28
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29270
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-10-02 17:46 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-28 11:16 [Bug driver/29270] New: "--" does not end option parsing schwab at suse dot de
2006-09-28 11:21 ` [Bug driver/29270] " schwab at suse dot de
2006-09-28 14:59 ` pinskia at gcc dot gnu dot org
2006-09-28 15:04 ` joseph at codesourcery dot com
2006-10-02 17:46 ` pinskia at gcc dot gnu dot org
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).