This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: problem building egcs-1.1.2



I've received several suggestions on my difficulties
building egcs-1.1.2 with Mumit's patches.  Many thanks
for all the feedback!  After going through all the
suggestions, and a few more iterations on trying the
build, I think that I might have finally succeeded.
The build now completes without failure, although I
haven't yet had a chance to go through it all to see
if everything was actually built correctly.  Unfortunately
other more pressing commitments will delay that step
for several more days.  (I'm a bit suspicious of the
short time for the build; it took about 100 minutes on
my 200 MHz cpu, where I was expecting several hours.)
 
The steps that finally resulted in a (hopefully...) 
successful build for me are appended below.  I suspect 
that some of the steps are irrelevant, but at least 
it seems to have worked...

*
***
*

ln -s /cygnus/cygwin-b20/H-i586-cygwin32/i586-cygwin32/include /usr/include

CYGTOP=/cygnus/cygwin-b20/H-i586-cygwin32/i586-cygwin32
export C_INCLUDE_PATH=$CYGTOP/include
export OBJC_INCLUDE_PATH=$CYGTOP/include
export LIBRARY_PATH=$CYGTOP/lib
export CFLAGS='-Os -malign-double'
export CXXFLAGS='-Os -malign-double'
export BOOT_CFLAGS='-Os -malign-double -pipe'  

tar -zxvf egcs-1.1.2.tar.gz
tar -zxvf egcs-1.1.2-x86-win32-patches.tar.gz
patch -p0 < egcs-1.1.2-x86-win32.diff

mkdir egcs-obj
cd egcs-obj
../egcs-1.1.2/configure \
  --prefix=/usr/local/package/egcs/1.1.2 \
  --host=i586-cygwin32

make bootstrap-lean &> ../make.out
 
*
***
*

---------------------------------------------------
   Paul Poffenberger          phone (250) 721 7741
   Dept of Physics            fax   (250) 721 7752   
   University of Victoria     email pof@uvic.ca
---------------------------------------------------


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com