linux->cygwin cross build environment
Charles Wilson
cygwin@cwilson.fastmail.fm
Sun Sep 5 19:21:00 GMT 2010
On 8/27/2010 11:18 AM, Charles Wilson wrote:
> But...this one works. I'll try again, with some of the other options
> and maybe sysroot support, but not until next week.
>
> I've attached my *working* recipe, based on Corinna's instructions. It
> also includes the recipe for then building cygwin itself, and packaging
> the results for installation on win32.
The attached is a second recipe; this one builds a linux->cygwin
gcc-4.5.0 compiler with sysroot support, as well as enabling libgomp.
It differs from the "native" cygwin 4.5.0 compiler in the following ways
(other than the obvious, of course):
graphite is not enabled
lto is not enabled
To use this recipe, I recommend (a) modifying the various settings at
the top as needed (b) cut and paste small sections (10 lines or so) into
a terminal -- rather than attempting the "run" the recipe as a script.
It's not that polished.
Using the cross-compiler generated using this recipe, the "sysroot"
support in libtool-2.2.11a passes its own tests (the cross-compiler
built using the previous recipe, because it had no sysroot support,
caused those tests to be skipped).
I was able to rebuild cygwin itself using this compiler with no issues
(except those related to -Werror; there are a number of files in cygwin
that cause alias warnings).
--
Chuck
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: linux-to-cygwin-cross-gcc45-with-sysroot.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100905/bfd59458/attachment.txt>
-------------- next part --------------
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list