This is the mail archive of the gcc-help@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]

Re: ld: fatal: file .libs/libglib-2.0.exp: unknown file type


On 12/ 1/10 07:34 PM, Laviticus Stone wrote:
On 12/ 1/10 07:29 PM, Jonathan Wakely wrote:
On 2 December 2010 00:10, Laviticus Stone wrote:
On 12/ 1/10 06:34 PM, Jonathan Wakely wrote:

On 1 December 2010 23:20, Laviticus Stone<laviticus@tptp.cc> wrote:

-Wl,-retain-symbols-file -Wl,.libs/libglib-2.0.exp -o

Should that be -Wl,--retain-symbols-file with two dashes not one?

Maybe even -Wl,--retain-symbols-file=.libs/libglib-2.0.exp ?

Also I read this on google:

Jan 31, 2003 ... Presently, if you specify an -export-symbols file,
libtool
converts it into a -Wl,-retain-symbols-file argument to $CC.
This is libtool creating this line.

ok, sorry for the noise

i'm stumped here. the command seems to be correct, although, why the file type is unknown is beyond me. it's just a flat ascii file with symbols in it.

njm

i'll ask on the libtool mailing list, thanks.



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