This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/13449] New: Command Line option -L is dependant on -o


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]