| www.delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-0.7 required=5.0 tests=BAYES_20 |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <72877B4AA68849B49911E0FCDAE5A95F@Shammah> |
| From: | "Stephen Grant Brown" <s_g_brown AT mcmedia DOT com DOT au> |
| To: | <cygwin AT cygwin DOT com> |
| Cc: | "Stephen Brown" <sg_brown AT mcmedia DOT com DOT au> |
| Subject: | Compiling Setup |
| Date: | Mon, 8 Mar 2010 17:18:19 +1100 |
| MIME-Version: | 1.0 |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
------=_NextPart_000_007D_01CABEE3.58F53900
Content-Type: text/plain;
format=flowed;
charset="UTF-8";
reply-type=response
Content-Transfer-Encoding: 7bit
Hi Larry,
Once again a big thank you.
>> The new version of the compiler is packaged as 'gcc4', though this is
>> the default, which is why setup won't compile unless you install
>> 'gcc'. Don't forget to specify 'gcc-3' to setup's configure, so you
>> don't end up with 'gcc' which points to 'gcc-4' by default.
I followed the url as requested, saw further url's, followed them and say
lists of files to install.
A quick check of some the files seen were also seen in my computer at the
indicated places.
Where these install when I run setup.exe and installed everything?
I have modified my Build_Setup.sh as per attached.
Was this the correct way to specify `gcc-3' to setup's configure?
When I run Build_Setup.sh I get
Admin AT Shammah ~
$ ./Build_Setup.sh
Doing CVS
Done CVS
Exit Status of cvs update is 0
Doing bootstrap.sh
Done CVS
Exit Status of bootstrap is 0
Doing configure
Done configure
Read /usr/src/setup/setup/README
Read /usr/src/setup/setup/configure2.out
Read /usr/src/setup/setup/config.log
Exit Status of configure is 77
Exit_Satus of Build_Setup is 1
Admin AT Shammah ~
Once again thank you for your help.
Yours Sincerely
Stephen Grant Brown
------=_NextPart_000_007D_01CABEE3.58F53900
Content-Type: application/octet-stream;
name="Build_Setup.sh"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="Build_Setup.sh"
#! /bin/bash
echo Doing CVS
cd /usr/src/setup
cvs update >& /usr/src/setup/Build_Setup_CVS.out
Exit_Status=3D$?
echo Done CVS
if [ $Exit_Status =3D=3D 0 ] ; then
echo "Exit Status of cvs update is" $Exit_Status
elif [ $Exit_Status =3D=3D 1 ] ; then
echo "Exit Status of cvs update is 1"
echo "new cvs update failed"
exit $Exit_Status
else
echo "Exit Status of cvs update is" $Exit_Status
exit $Exit_Status
fi
echo Doing bootstrap.sh
cd /usr/src/setup/setup
./bootstrap.sh >& /usr/src/setup/Build_Setup_bootstrap.out
Exit_Status=3D$?
echo Done CVS
if [ $Exit_Status =3D=3D 0 ] ; then
echo "Exit Status of bootstrap is" $Exit_Status
elif [ $Exit_Status =3D=3D 1 ] ; then
echo "Exit Status of bootstrap is 1"
echo bootstrap failed
exit $Exit_Status
else
echo "Exit Status of bootstrap is" $Exit_Status
exit $Exit_Status
fi
echo Doing configure
./configure -C --disable-shared --host=3Di686-pc-mingw32 \
--build=3Di686-pc-cygwin CC=3D"gcc-3 -mno-cygwin" CXX=3D"g++ -mno-cygwin"=
\
--enable-maintainer-mode > configure.out 2> configure2.out
Exit_Status=3D$?
echo Done configure
if [ $Exit_Status =3D=3D 0 ] ; then
echo "Exit Status of configure is" $Exit_Status
elif [ $Exit_Status =3D=3D 1 ] ; then
echo "Exit Status of configure is 1"
echo "Read /usr/src/setup/setup/README"
echo configure failed
elif [ $Exit_Status =3D=3D 77 ] ; then
echo "Read /usr/src/setup/setup/README"
echo "Read /usr/src/setup/setup/configure2.out"
echo "Read /usr/src/setup/setup/config.log"
echo "Exit Status of configure is" $Exit_Status
else
echo "Exit Status of configure is" $Exit_Status
echo "Read /usr/src/setup/setup/README"
echo "Read /usr/src/setup/setup/config.log"
echo "Read /usr/src/setup/setup/configure.out"
echo "Read /usr/src/setup/setup/configure2.out"
fi
Exit_Status=3D1
echo "Exit_Satus of Build_Setup is " $Exit_Status
exit $Exit_Status
------=_NextPart_000_007D_01CABEE3.58F53900
Content-Type: text/plain; charset=us-ascii
--
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
------=_NextPart_000_007D_01CABEE3.58F53900--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |