mingw-cross-env-list
[Top][All Lists]
Advanced

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

[Mingw-cross-env-list] linker issue


From: swan lee
Subject: [Mingw-cross-env-list] linker issue
Date: Sat, 13 Nov 2010 11:03:00 +0100
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; fr; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6

hi,
i've build the cross compiler by doing :
make gcc
i've added pthreads and glib.

i'm trying to compile a library and the linker ran into this:
/opt/mingw/usr/lib/gcc/i686-pc-mingw32/4.5.1/../../../../i686-pc-mingw32/bin/ld: cannot find -lc
collect2: ld returned 1 exit status

so please can you tell me wich library refer -lc? i guess that is libc....
i've tried passing -L/opt/mingw/usr/lib/gcc/i686-pc-mingw32/4.5.1 to the linker, but no success...

many thanks!
nicolas



reply via email to

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