Build-problem: Paths messed up while crosscompiling (includes FIX)

Morten Garkier Hendriksen garkier@osc.kiku.dk
Thu May 27 07:58:00 GMT 1999


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



More information about the Cygwin mailing list