Sucess!

Martin Krischik <[email protected]> Sat, 9 Sep 2006 21:02:54 +0200
Newsgroups gmane.comp.ide.gps.user
Message-ID <[email protected]>
Am Samstag, 9. September 2006 10:11 schrieb Martin Krischik:

> I currently got the best result with:
>
> GtkAda 2.8.1
> GPS 4.4.0
> GNAT GPL 2006
>
> But it still fails at link time:

I successfully compiled a working GPS 4.0 on SuSE 10.1 x86_64 with the above 
setup. You can download a copy from:

http://sourceforge.net/project/showfiles.php?group_id=12974&package_id=196706

The bad news is: It won't work with gcc 4.1.1:

------------
gcc -c -g -gnatec=/work/gnuada/rpm/BUILD/gps-4_0_0/gps/gnat_debug.adc -g -O -gnata -gnatVa -gnatQ -gnaty -gnatwaCJe -Wall -I- -gnatA /work/gnuada/rpm/BUILD/gps-4_0_0/kernel/src_info/projects.adb
osint.ads:564:46: "Get_Target_Object_Suffix" is undefined
gnatmake: "/work/gnuada/rpm/BUILD/gps-4_0_0/kernel/src_info/projects.adb" 
compilation error
make[2]: *** [internal-build] Fehler 4
make[2]: Leaving directory `/work/gnuada/rpm/BUILD/gps-4_0_0/gps'
make[1]: *** [default] Fehler 2
make[1]: Leaving directory `/work/gnuada/rpm/BUILD/gps-4_0_0'
error: Bad exit status from /var/tmp/rpm-tmp.13781 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.13781 (%build)
if [ -x /opt/gnat/tools/bin/vim ] ; then 
LD_LIBRARY_PATH=/opt/gnat/tools/lib /opt/gnat/tools/bin/vim -g -M 
+ --servername "RPM--Build-Logs" --remote-silent "../LOGS/gnat-gcc-gps-4.1.1.log" ; 
fi
------------

A quick check revealed that GNAT.OS_Lib is just plain to old. There is nothing 
to be done about apart from waiting for the next gcc release.

I whish you all good look in creating your own GPS. To help you, here is the 
script I used:

http://svn.sourceforge.net/viewvc/gnuada/trunk/rpm/SPECS/Prototypes/gnat-gps.spec?view=markup

Martin
-- 
Martin Krischik
mailto://[email protected]

_______________________________________________
gps-users mailing list
[email protected]
http://lists.adacore.com/mailman/listinfo/gps-users
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQBFAw/jijwKaHyem9cRAh4vAKCXkioRKlkVOnyOtLHgSN/TtKMVUACg09Jx
CEFmXNF4rRpond8tEUwGUHQ=
=FCFJ
-----END PGP SIGNATURE-----