delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/19/19:48:42

X-Spam-Check-By: sourceware.org
Message-ID: <005501c604ff$1e68e400$6301a8c0@eliteprodigy3>
From: "Jay C." <c0ld AT c0ld DOT net>
To: <cygwin AT cygwin DOT com>
Subject: Fw: CrossCompiling
Date: Tue, 20 Dec 2005 00:48:34 -0000
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019