[gps-users] Sucess!

Martin Krischik krischik at users.sourceforge.net
Sat Sep 9 21:02:54 CEST 2006


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://krischik@users.sourceforge.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/gps-users/attachments/20060909/5101ffe4/attachment.bin


More information about the gps-users mailing list