Am 07.08.2006, 12:51 Uhr, schrieb Andrew Haley <aph@xxxxxxxxxx>:
Tian, Pu \(NIH/NIDDK\) [C] writes:
> Hi,
> I am a newbie and am trying to build gcc-3.3.5 on my SUSe10.1 system
(which have gcc-4.1.0 from the package, also have g77 based on
gcc-3.3.5, the machine is a Thinkpad T60). I downloaded the tarball,
unpack it, and tried to build it in a OBJDIR gcc_BLDG with the following
command:
>
> ../gcc-3.3.5/configure --prefix=/usr/local/gcc-3.3.5
> seems went OK. then
>
> make bootstrap
>
> failed with lots of warnings, the final few lines are:
>
> a-charac.ads:16:01: (style) multiple blank lines
> make[2]: *** [ada/a-charac.o] Error 1
> make[2]: Leaving directory `/home/pu/Documents/COMPILERS/gcc_BLDG/gcc'
> make[1]: *** [stage1_build] Error 2
> make[1]: Leaving directory `/home/pu/Documents/COMPILERS/gcc_BLDG/gcc'
> make: *** [bootstrap] Error 2
>
> I also tried to build in the source directory, the same thing
happened. This is true for gcc-3.4.6 too. I attached the output file
from configure (config.log) and make (make.log). Any advices will be
highly appreciated.
Ada uses Warnings=Errors, which improves code quality a lot but also means
that a newer compiler - with more warnings - won't allways compiler an
older compiler.
Please don't attach such huge files to your mail.
Do you really need an Ada compiler? If you don't, just configure with
--enable-languages=c,c++,java etc...
Well, OP certainly don't want an Ada compiler from the 3.3 branch which is
quite buggy. Better to use the 4.1.0 which comes with SuSE 10.1 or
download a ready made rpm-package for SuSE 10.1 from the GNU Ada project
[1].
Martin
[1] http://gnuada.sf.net
--
Martin Krischik
krischik@xxxxxxxxxxxxxxxxxxxxx