public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/13449] New: Command Line option -L is dependant on -o
@ 2003-12-19 16:41 jamesl at appliedminds dot com
  2003-12-19 16:59 ` [Bug other/13449] " pinskia at gcc dot gnu dot org
  2003-12-19 18:08 ` jamesl at appliedminds dot com
  0 siblings, 2 replies; 3+ messages in thread
From: jamesl at appliedminds dot com @ 2003-12-19 16:41 UTC (permalink / raw)
  To: gcc-bugs

The -L argument effects seem to change depending on whether -o is specified.
For instance:
g++ -Wall -O2 -g -I/usr/local/include -L/usr/local/lib -lMagick -lqt tileImage.cc
Links against my ImageMagick library in /usr/lib still.
However, 
g++ -Wall -O2 -g -I/usr/local/include -L/usr/local/lib/ -o tileImage -lMagick -lqt tileImage.cc 
links correctly against my ImageMagick library in /usr/local/lib

Looks like theres a weird edge case here.

-- 
           Summary: Command Line option -L is dependant on -o
           Product: gcc
           Version: 3.3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jamesl at appliedminds dot com
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13449


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

* [Bug other/13449] Command Line option -L is dependant on -o
  2003-12-19 16:41 [Bug other/13449] New: Command Line option -L is dependant on -o jamesl at appliedminds dot com
@ 2003-12-19 16:59 ` pinskia at gcc dot gnu dot org
  2003-12-19 18:08 ` jamesl at appliedminds dot com
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-19 16:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-19 16:39 -------
Can you provide the output when you add -v for both invoke, I think this is not a GCC bug but 
rather a binutils one.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13449


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

* [Bug other/13449] Command Line option -L is dependant on -o
  2003-12-19 16:41 [Bug other/13449] New: Command Line option -L is dependant on -o jamesl at appliedminds dot com
  2003-12-19 16:59 ` [Bug other/13449] " pinskia at gcc dot gnu dot org
@ 2003-12-19 18:08 ` jamesl at appliedminds dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jamesl at appliedminds dot com @ 2003-12-19 18:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jamesl at appliedminds dot com  2003-12-19 17:51 -------
Never mind I said anything.
I was being really stupid.
It works fine.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13449


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

end of thread, other threads:[~2003-12-19 17:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-19 16:41 [Bug other/13449] New: Command Line option -L is dependant on -o jamesl at appliedminds dot com
2003-12-19 16:59 ` [Bug other/13449] " pinskia at gcc dot gnu dot org
2003-12-19 18:08 ` jamesl at appliedminds dot com

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