This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Build-problem: Paths messed up while crosscompiling (includes FIX)
- To: cygwin@sourceware.cygnus.com
- Subject: Build-problem: Paths messed up while crosscompiling (includes FIX)
- From: garkier@osc.kiku.dk (Morten Garkier Hendriksen)
- Date: Thu, 27 May 1999 17:06:37 +0200 (CEST)
Hello!
I have succesfully built a crosscompiler (host=i586-pc-linux-gnu
target=i386-pc-cygwin) using the source dev-src.tar.bz2 from my local
cygnus mirror.
During the build there were a few catches, probably related to wrong
paths in the makefiles. I guess you guys who know the structure of
the source-tree can identify the problem, and you who don't can use my
workaround..:-)
During the build-phase a directory in the "root" (that is src/) called
i386-pc-cygwin32 is created and som directories are linked/copied into
this directory. In this directory I had to create the following links,
to make the tree compile:
i386-pc-cygwin32:
ln -s ../config.sub .
ln -s ../install-sh .
ln -s ./newlib/configure.host .
ln -s ../mkinstalldirs .
and in the subdirectory i386-pc-cygwin32/winsup (which is created
later) I had to do the following:
ln -s ../libstdc++/ .
to match the makefiles view of the world.
Since I am not used to autoconfigure-scripts in this scale, I have not
tried to hunt the problem myself. The above fix worked for me.
Best regards
Morten Hendriksen
Tech. info (if anyone should need it)
cygwin-version: 20.1 (from winsup/ChangeLog)
Host
OS: Debian 2.1/i386
compiler: EGCS (1.1.1)
arch: i586
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com