| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| To: | jcast AT ou DOT edu |
| Cc: | cygwin AT cygwin DOT com |
| Subject: | Re: Header problems building cross gcc i686-pc-linux-gnu to i686-pc-cygwin |
| Organization: | Jan at Appel |
| From: | Jan Nieuwenhuizen <janneke AT gnu DOT org> |
| Date: | 11 May 2001 10:47:06 +0200 |
| Message-ID: | <m3eltwjmr9.fsf@appel.lilypond.org> |
| Lines: | 36 |
| User-Agent: | Gnus/5.090003 (Oort Gnus v0.03) Emacs/20.7 |
| MIME-Version: | 1.0 |
> I am having problems building a GNU/Linux to Cygwin cross compiler.
> I configure gcc using:
> ../../foreign/gcc-2.95.3-4/configure --target=i686-pc-cygwin
> --with-target-headers=/win32/c/Cygwin/usr/include/
> --prefix=/home/jcast/ --with-as=/home/jcast/bin/i686-pc-cygwin-as
> When I attempt to build (using `make'), I get the following error
> message:
Huh? did you really unpack all stuff in /win32?
Ok, here's what I do (on a ppc, but it should work on x86 too :-)
++ tar xzf /home/ftp/pub/gnu-windows/cygwin-1.1.8/ppc-gnu-linux-x-i686-pc-cygwin/gcc/gcc-2.95.3-4-src.tar.gz
++ mkdir -p gcc-build
++ cd gcc-build
++ sourcedir=/home/cygwin/cygwin-1.1.8/usr/src/gcc-2.95.3-4
++ CPPFLAGS=-I /home/cygwin/cygwin-1.1.8/usr/include/w32api
++ CFLAGS=-O2 -g -DATTRIBUTE_NORETURN= -DATTRIBUTE_UNUSED= -I /home/cygwin/cygwin-1.1.8/usr/include/w32api
++ /home/cygwin/cygwin-1.1.8/usr/src/gcc-2.95.3-4/configure --host=ppc-gnu-linux --target=i686-pc-cygwin --prefix=/home/cygwin/cygwin-1.1.8/linux-x-cygwin/usr -v --enable-threads --with-headers=/home/cygwin/cygwin-1.1.8/usr/i686-pc-cygwin/include --with-libs=/home/cygwin/cygwin-1.1.8/usr/i686-pc-cygwin/lib
++ make 'LANGUAGES=c c++'
You're invited to use my automagical scripts for setting up a cross
development environment and cross building GUILE, LilyPond etc, from:
http://www.lilypond.org/gnu-windows/cross-1.1.8.tar.gz
Good luck,
Jan.
--
Jan Nieuwenhuizen <janneke AT gnu DOT org> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |