FS#9591 - gcc-gnat package request
Attached to Project:
Arch Linux
Opened by Michał Małek (michalm) - Saturday, 16 February 2008, 20:41 GMT
Last edited by Jan de Groot (JGC) - Friday, 18 July 2008, 21:48 GMT
Opened by Michał Małek (michalm) - Saturday, 16 February 2008, 20:41 GMT
Last edited by Jan de Groot (JGC) - Friday, 18 July 2008, 21:48 GMT
|
Details
Hi,
I would like to request Ada support in gcc. Nowadays in Arch it is a tough task to compile Ada program. Since gnat itself is written in Ada it's not easy for ordinary user to build gcc-gnat by himself. Because of this AUR is not an answer for this package. I hope it will be possible to add gcc-gnat to extra repository (like gcc-gcj). |
This task depends upon
Any suggestion is welcome though.
Be sure to read the comments I added in the discussion tab, because the suggested compiler in the original article didn't work, at least for me.
The flow:
1. Build and install gnat-bootstrap package. It installs binary gnat 4.2.0 from Suse 9.2.
2. Build and install gcc with gnat support (PKBUILD-gcc_and_gnat). Now you can remove gnat-bootstrap package.
3. Build gcc (PKGBUILD-gcc) and gcc-gnat (PKGBUILD-gnat).
4. Install gcc and gcc-gnat packages.
PKGBUILD-gcc_and_gnat (2.7 KiB)
PKGBUILD-gcc (2.8 KiB)
PKGBUILD-gcc-gnat (3.5 KiB)
PKGBUILD-gcc (3 KiB)
PKGBUILD-gcc-gnat (3.3 KiB)
make[2]: Entering directory `/home/juanra/abs/gcc_and_gnat/src/gcc-4.3.0/build'
make[3]: Entering directory `/home/juanra/abs/gcc_and_gnat/src/gcc-4.3.0/build'
rm -f stage_current
make[3]: Leaving directory `/home/juanra/abs/gcc_and_gnat/src/gcc-4.3.0/build'
Comparing stages 2 and 3
warning: ./cc1objplus-checksum.o differs
warning: ./cc1obj-checksum.o differs
warning: ./cc1plus-checksum.o differs
warning: ./cc1-checksum.o differs
Bootstrap comparison failure!
./varasm.o differs
./gcc.o differs
./crtbeginS.o differs
./crtendS.o differs
./i386.o differs
make[2]: *** [compare] Error 1
make[2]: Leaving directory `/home/juanra/abs/gcc_and_gnat/src/gcc-4.3.0/build'
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory `/home/juanra/abs/gcc_and_gnat/src/gcc-4.3.0/build'
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...
thanks Michał you saved my day! you should get a gold medal or something..