This is the mail archive of the cygwin mailing list for the Cygwin 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]

Fw: CrossCompiling


Hey.

Ok, im going to explain my situation.

I am compiling a plugin for CS:S.
I am using CygWin and a gcc 3.4.1 cross compiler which I know works out of the box for compiling this type of plugin. I can send it to a guy using the same setup and it compiles fine for him using CygWin and the same CrossCompiler.


On compiling, it throws the following error.

/opt/crosstool/gcc-3.4.1-glibc-2.3.2/i686-unknown-linux-gnu/lib/gcc/i686-unknown-linux-gnu/3.4.1/../../../../i686-unknown-linux-gnu/bin/ld: cannot find -lgcc_s

I have glib, glib2, glib-devel, glib2-devel and any other glib packages I could find installed for Cygwin.

I am using the following in my Makefile..

CPP_LIB=/opt/crosstool/gcc-3.4.1-glibc-2.3.2/i686-unknown-linux-gnu/i686-unknown-linux-gnu/lib/libstdc++.a \
/opt/crosstool/gcc-3.4.1-glibc-2.3.2/i686-unknown-linux-gnu/lib/gcc/i686-unknown-linux-gnu/3.4.1/libgcc_eh.a\USER_CFLAGS=-static-libgccAny help would be gratefully appreciated.



-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


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