X-Spam-Check-By: sourceware.org Message-ID: <005501c604ff$1e68e400$6301a8c0@eliteprodigy3> From: "Jay C." To: Subject: Fw: CrossCompiling Date: Tue, 20 Dec 2005 00:48:34 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/