[GAP] Binding Problem with GNAT
John McCormick
mccormick at cs.uni.edu
Thu Nov 8 00:59:42 CET 2007
Richard,
You need to change pragma linker in one of the files. The directions
I give to my students are at http://cns2.uni.edu/~mccormic/188/
p.s. I'm having a great time at the SIGAda conference. Great
student paper by a West Point student. We need some more from the NPS.
John
>Subject: Binding GNAT using JEWL and AdaGide
>
>To: Anyone using GNAT
>
>From: Richard Riehle
>
>Date: 7 November 2007
>
>
>Using AdaGide v 7.420003, I am trying to compile and Link some of the
>John English JEWL programs.
>
>There was a time, with earlier versions of GNAT, that these would
>compile
>and link just fine with AdaGide.
>
>The error message, on calling gnatlink.exe is:
>
> c:\gnat\2007\libexec\gcc\pentium-mingw32msv\4.1.3\ld.exe:
> cannot find -luser32 -lgdi32 -lcomdlg32 -lwinnmm
>
> collect 2: ID returned 1 exit status
> gnatlink: error when calling c:\gnat\2007\bin\gcc.exe
> gnatmake: *** link failed
> Done: error detected
>
>We use AdaGide in our curriculum because it is so much easier for an
>academic environment than GPL, so we'd like to continue with it.
>Also, JEWL has proven to be one of the most valuable tools for
>making Ada attractive to our students.
>
>Is there a fix for this problem?
>
>
>Richard Riehle
>Computer Science Department
>Naval Postgraduate School
>Monterey, CA
>7 November 2007
>_______________________________________________
>GAP mailing list
>GAP at gnat.info
>/no-more-mailman.html
>To unsubscribe from this list, please contact the GAP GNAT Tracker
>administrator
>within your organization.
John W. McCormick mccormick at cs.uni.edu
Computer Science Department
University of Northern Iowa voice (319) 273-6056
Cedar Falls, IA 50614-0507 fax (319) 273-7123
http://www.cs.uni.edu/~mccormic/
More information about the GAP
mailing list