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 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 ?
I thought the esame I tried --retain-symbols-file

[snip]
.so.0 -Wl,--retain-symbols-file -Wl,.libs/libglib-2.0.exp -o .libs/libglib-2.0.so.0.2600.1
ld: fatal: unrecognized option '--'
[/snip]


and obviously it does the same with the = portion added.

njm


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