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: 3 Oct 2004 14:13:31 -0700

I am developing a library using mingw (windows).

I created my binary files (.dll), my library file (.a) and my def file
(.def) using

g++ -shared -o XXX.so -Wl,--output-def=XXX.def -Wl,--soname=XXX
-W1,--out-implib=XXX.lib

The problem happens when I ported my library to linux and tried to
compile using g++. The .a and the .def file are missing because g++ is
ignoring my -Wl,* arguments.

Am I right or am I doing something wrong?


Best regards



Ernesto


reply via email to

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