Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-Id: <199905231659.LAA03817@mercury.xraylith.wisc.edu> To: "Jurgis Armanavichius" cc: cygwin AT sourceware DOT cygnus DOT com Subject: Re: How to build the cross compiler under CygWin package? In-Reply-To: Your message of "Sun, 23 May 1999 19:30:48 +0200." <014e01bea541$ff3d0940$322bb0c2 AT omnitel DOT net> Date: Sun, 23 May 1999 11:59:57 -0500 From: Mumit Khan "Jurgis Armanavichius" writes: > > Does anyone have the experience how to build some cross compiler > using CygWin package? I tried to use HowTo from this URL: > > http://www.xraylith.wisc.edu/~khan/software/gnu-win32/cygwin-cross-howto.= > txt > > Near from beginning of document is the following text: > 2. unpack, configure and build: > > $ mkdir /usr/local/src/cygwin-b20 =20 > $ cd /usr/local/src/cygwin-b20 > $ bunzip2 -c /tmp/dev-src.tar.bz2 | tar -xf - > [ this will unpack everything under src subdirectory ] > $ mkdir CROSS > $ cd CROSS > $ ../src/configure --prefix=3D/usr/local/cygb20 = > --target=3Di586-cygwin32 -v > $ make > make.log 2>&1 > [ the '2>&1' depends on your shell of course. check for errors . If OK = > ] > $ make install > install.log 2>&1 > First line (mkdir) wont work! I have the message: > BASH.EXE-2.02$ mkdir /usr/local/src/cygwin-b20 > mkdir: cannot make directory `/usr/local/src/cygwin-b20': No such file = > or directory I assume minimal Unix experience for anybody willing to build egcs from sources. When you create a directory using mkdir (without the -p option), then all the components must already exist. $ mkdir /usr/local/src/cygwin-b20 assumes that you've already created /usr/local/src. You can also do the following so that mkdir will create the missing pieces for you: $ mkdir -p /usr/local/src/cygwin-b20 > OK. I was maked all dirs separately. But the line: > > $ ../src/configure --prefix=3D/usr/local/cygb20 = > --target=3Di586-cygwin32 -v > > Also not works! How I can do necessary configuration? I tried "sh" shell = > - same results. > Same situation is with other HowTo documents. The "../somedir/configure" > not works, and I can't do any future steps. Try using bash: $ CONFIG_SHELL=bash bash ../src/configure --prefix=/usr/local/cygb20 \ -v i586-cygwin32 I should mention that building on W9x is probably not something I would even attempt to do! It does however work on NT 4.0/NTFS. I also have /bin/sh, which is why my ../src/configure bit works. Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com