This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Building a cygwin->linux cross-compiler problem
- From: Brian Dessent <brian at dessent dot net>
- To: cygwin at cygwin dot com
- Date: Mon, 22 Aug 2005 00:30:50 -0700
- Subject: Re: Building a cygwin->linux cross-compiler problem
- References: <430979A2.40506@fastcom-technology.com>
- Reply-to: cygwin at cygwin dot com
Alain Paschoud wrote:
> For some reason, I need to compile in cygwin applications that will run
> on linux (OpenBSD to be precise). I didn't find any pre-compiled
> cross-compiler to do that (does it exist one ?), so I try to build one.
> To do so, I am following first part of next howto :
This isn't really a Cygwin-specific topic, and there are better places
to ask such as the crossgcc list (also hosted on sourceware). If you
want a full cross toolchain and you're targeting linux/glibc then
crosstool will definitely be what you want to use.
> http://gentoo-wiki.com/HOWTO_Distcc_server_on_Windows
...especially if you're following someone else's directions.
> /usr/src/binutils-20050610-1/binutils/ar.c:143: undefined reference to
> `_yyparse'
Are you missing bison?
> cygwin$ export BUILD=i686-pc-cygwin
> cygwin$ export HOST=i686-pc-cygwin
Normally you don't need to specify these.
> cygwin$ export TARGET=i686-pc-linux-gnu
If you are targeting openbsd then why are you using this?
Brian
--
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/