This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC 3.4.4 RC2


Mark Mitchell wrote:
GCC 3.4.4 RC2 is now available here:

Please download, build, and test.


On Mac OX X 10.2, the results are slightly discomforting,
even though I do get a compiler with
--enable-languages=c,ada,f77,c++,objc.

gcc summary has
# of unexpected failures        1080

(Couldn't get any further because gnatmake, run from ACATS dir,
can't find macrosub.adb, even after some tweaking.)

In case anyone is interested in this "old" configuration, which
in one place might be of interest for mainline Ada configurations,
I needed a GCC 3.3 for bootstrapping with
--enable-languages=c,ada,f77,c++,objc. Apple's 3.3 dmg doesn't
come with Ada, I managed to built GCC from sources numbered 1495
(the macada.org sources), using --with-suffix=1495.

Then to get get a bootstrapped 3.4 compiler, the following changes
were necessary to pass $CC (which is not "gcc" per --with-suffix)
on to gnatmake in gcc/ada/Make-lang.in. It looks like this is a
relative of PR/13035. The Make-lang.in still looks similar in
mainline, so maybe this is of general interest.


--- gcc/ada/Make-lang.in.orig Wed Sep 1 22:07:42 2004 +++ gcc/ada/Make-lang.in Mon May 16 19:41:23 2005 @@ -446,7 +446,7 @@ ada/doctools/xgnatugn$(build_exeext): ada/xgnatugn.adb -$(MKDIR) ada/doctools $(CP) $^ ada/doctools - cd ada/doctools && gnatmake -q xgnatugn + cd ada/doctools && gnatmake -q --GCC=$(CC) xgnatugn -largs --GCC=$(CC)

# Note that gnat_ugn_unw.texi does not depend on xgnatugn # being built so we can distribute a pregenerated gnat_ugn_unw.info
@@ -988,27 +988,37 @@
ada/treeprs.ads : ada/treeprs.adt ada/sinfo.ads ada/xtreeprs.adb
-$(MKDIR) ada/bldtools
$(CP) $^ ada/bldtools
- (cd ada/bldtools; gnatmake -q xtreeprs ; ./xtreeprs ../treeprs.ads )
+ (cd ada/bldtools; \
+ gnatmake -q --GCC=$(CC) xtreeprs -largs -v --GCC=$(CC) ; \
+ ./xtreeprs ../treeprs.ads )


ada/einfo.h : ada/einfo.ads ada/einfo.adb ada/xeinfo.adb
	-$(MKDIR) ada/bldtools
	$(CP) $^ ada/bldtools
-	(cd ada/bldtools; gnatmake -q xeinfo ; ./xeinfo ../einfo.h )
+	(cd ada/bldtools; \
+	 gnatmake -q --GCC=$(CC) xeinfo -largs -v --GCC=$(CC); \
+	 ./xeinfo ../einfo.h )

ada/sinfo.h : ada/sinfo.ads ada/xsinfo.adb
	-$(MKDIR) ada/bldtools
	$(CP) $^ ada/bldtools
-	(cd ada/bldtools; gnatmake -q xsinfo ; ./xsinfo ../sinfo.h )
+	(cd ada/bldtools; \
+	 gnatmake -q --GCC=$(CC) xsinfo -largs -v --GCC=$(CC); \
+	 ./xsinfo ../sinfo.h )

ada/nmake.adb : ada/sinfo.ads ada/nmake.adt ada/xnmake.adb
	-$(MKDIR) ada/bldtools
	$(CP) $^ ada/bldtools
-	(cd ada/bldtools; gnatmake -q xnmake ; ./xnmake -b ../nmake.adb )
+	(cd ada/bldtools; \
+	 gnatmake -q --GCC=$(CC) xnmake -largs -v --GCC=$(CC) ; \
+	 ./xnmake -b ../nmake.adb )

ada/nmake.ads :  ada/sinfo.ads ada/nmake.adt ada/xnmake.adb ada/nmake.adb
	-$(MKDIR) ada/bldtools
	$(CP) $^ ada/bldtools
-	(cd ada/bldtools; gnatmake -q xnmake ; ./xnmake -s ../nmake.ads )
+	(cd ada/bldtools; \
+	 gnatmake -q --GCC=$(CC) xnmake -largs -v --GCC=$(CC); \
+	 ./xnmake -s ../nmake.ads )

update-sources : ada/treeprs.ads ada/einfo.h ada/sinfo.h ada/nmake.adb \
	ada/nmake.ads


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]