help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -output-def, -soname using gcc


From: Ernesto
Subject: Re: -output-def, -soname using gcc
Date: 4 Oct 2004 08:24:56 -0700

Hi Paul:

Could you pleese explain me something about i386 PE and ELF?

Thanks a lot!!


Ernesto



Paul Pluzhnikov <ppluzhnikov-nsp@charter.net> wrote in message 
news:<m34qlb5nzb.fsf@salmon.parasoft.com>...
> ebascon@hotmail.com (Ernesto) writes:
> 
> > The .a and the .def file are missing because g++ is
> > ignoring my -Wl,* arguments.
> 
> It is not ignoring these arguments. Any argument beginning with
> -Wl is simply passed directly to the linker.
> 
> > Am I right or am I doing something wrong?
> 
> Yes: you are passing meaningless arguments to the linker:
> neither '--output-def' nor '--out-implib' have any meaning when
> output is i386 ELF. They only mean something for i386 PE.
> 
> Conversely, '--soname' is only meaningful for ELF, and is meaningless
> on Windows.
> 
> Cheers,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]