This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: testing consistency
- To: jackson at negril dot msrce dot howard dot edu (Aaron Jackson)
- Subject: Re: testing consistency
- From: hjl at lucon dot org (H.J. Lu)
- Date: Thu, 11 Sep 1997 10:16:56 -0700 (PDT)
- Cc: law at cygnus dot com, egcs at cygnus dot com
>
> I have tried to use the bootstrap target you posted several times, both
> on the 970904 and the 970907 snapshot and was NEVER able to get past the
> first stage build. I finally gave up on egcs and just compiled and
> installed gcc2.7.2.2 and g770.5.20. I tried on both ultrix 4.4 and
> digital unix 2.0 systems. I would like to stay current with all these
> many patches and improvements posted so far, and I'll give it another try
> with the next snapshot, although I loath the four hour compile times and
> I get really bummed when it doesn't work.
>
Ok. That is what I have been doing:
# cd bin/gcc-debug
# ../../../egcs/gcc/configure
# make bootstrap
# make install
# cd ../egcs
# ../../../egcs/configure
# make
# make check
# make install
BTW, egcs/configure is broken for linux or any native
platforms. I have sent in this patch to fix it for linux:
Mon Aug 25 17:31:49 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
* configure (prefix): Initialized to NONE. Set to
${native_prefix} for Linux or ${default_prefix} for others if
it is NONE.
(default_prefix): New. Initialized to /usr/local.
(native_prefix): New. Initialized to /usr.
to fix it. But I got no positive reponse.
H.J.
----
Index: configure
===================================================================
RCS file: /home/work/cvs/gnu/egcs/configure,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 configure
--- configure 1997/08/26 00:20:39 1.1.1.1
+++ configure 1997/08/27 03:10:10
@@ -62,7 +62,9 @@
norecursion=
other_options=
package_makefile_frag=
-prefix=/usr/local
+prefix=NONE
+default_prefix=/usr/local
+native_prefix=/usr
progname=
program_prefix=
program_prefixoption=
@@ -512,6 +514,18 @@
fi
esac
+# Are we using gcc as the native compiler?
+if [ x${prefix} = xNONE ]; then
+ case ${host_alias} in
+ *linux*) # All Linux's use gcc as the native compiler.
+ prefix=${native_prefix}
+ ;;
+ *)
+ prefix=${default_prefix}
+ ;;
+ esac
+fi
+
# default exec_prefix
case "${exec_prefixoption}" in
"") exec_prefix="\$(prefix)" ;;