Mail Archives: djgpp-workers/2002/12/21/08:34:32
Hello.
Andrew Cottrell wrote:
> The GCC 3.2.1 I built and uploaded to clio does not work! When liniking I
> get errors about not finding 'new', 'delete' and a number of other symbols.
> The GCC 3.2.1 from Simtel works okay. I have looked at the GCC build and
> there are some errors which I expect are the cause of the link failure. Due
> to Chrismas I have not had allot of time to find out why the build fails.
> The first potential error in the build is incldued below.
>
> Has anyone else besides Andris sucessfully built GCC 3.2.1 from the
> gcc312s.zip?
I have now. I've installed it and it seems to work OK - I built a
tests/libclink/ with it, which is a C++ program. I also rebuilt everything
under src/ with it. I didn't see any failures.
The only diffs I have in my "mostly native" DJGPP 2.04 tree are for the
multiple-consecutive-slash problem I saw the other day with symlinks. I've
rebuilt fileutils, sh-utils and textutils with my fix. I've now also built gcc
with it. It seems unlikely, but maybe the gcc build process uses symlinks and
could benefit from this fix?
By "mostly native" I mean that $DJDIR is a CVS check-out of DJGPP, but not all
the programs have been rebuilt against CVS.
(BTW I have double-checked that I have installed the gcc I built.)
> The following is the GCC build process that I used (from my build all batch
> file). I have deleted the gcc3-21, build.gcc and install.gcc directories and
> unzipped the source and the build still fails.
>
> set GCCVER=321
> cd %DJGPP_ROOT%\GNU\build.gcc
> if exist makefile make clean
> if not exist makefile sh djconfig.sh
> sh djmake.sh bootstrap
> sh djmake.sh -C gcc gnatlib_and_tools
This stage didn't work for me. I got this in the log:
make.exe: Entering directory `c:/djgpp.204/gnu/build.gcc/gcc'
make.exe: *** No rule to make target `gnatlib_and_tools'. Stop.
make.exe: Leaving directory `c:/djgpp.204/gnu/build.gcc/gcc'
Are the instructions in gnu/gcc-3.21/readme.DJGPP bogus? I couldn't see a
gnatlib_and_tools target in gnu/build.gcc/gcc/Makefile. I saw no targets
containing "gnat" or "ada" either.
> cd %DJGPP_ROOT%\GNU\build.gcc
> sh djinsttmp.sh
> cd %DJGPP_ROOT%\GNU\install.gcc
> sh makepkg.sh
> cd %DJGPP_ROOT%
>
> Any ideas?
Apart from trying the multiple-consecutive-slash fix, no.
Bye, Rich =]
--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
- Raw text -