Fw: CrossCompiling

Jay C. c0ld@c0ld.net
Tue Dec 20 00:48:00 GMT 2005


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/



More information about the Cygwin mailing list