comp.lang.ada
 help / color / mirror / Atom feed
* GNAT and Windows95: help needed.
@ 1996-06-03  0:00 Daniel Wengelin
  1996-06-03  0:00 ` Tom Griest
  1996-06-03  0:00 ` Theodore E. Dennison
  0 siblings, 2 replies; 3+ messages in thread
From: Daniel Wengelin @ 1996-06-03  0:00 UTC (permalink / raw)




Hello, having found a "departemental PC" running Win95 at work,
I decided to have a go at getting GNAT to work. I obtained the
GNAT301A and installed it. It worked just fine, but as far as I
could tell could only use text-based IO in a DOS-window.

Hence,I obtained to sets of files, one being the Win32Ada 
bindings to Win32 from LabTek. The other set of files is
what was called Win32Lib. 

Now the problem starts.

Compiling is fine, but the linking phase seems to go astray, 
with either undefined symbols or the same symbols in more than 
one instance.

Here I will need some guidance.

1) There are ".LIB"-files in two several places.
   What are .LIB-files? How do they relate to object files?
   If .LIB-files are "bundles of object files", how do I
   tell what symbols are defined by one?

2) How do I know whether there is SDK installed? What IS SDK?
   
3) Supposing that I should be using the GNU linker "ld", how
   do I tell it where to look for object symbols? I tried the 
   winlib.ld file, and it definitely seems to make a BIG
   difference. What files does ld look in to tell what
   object and library files it needs?

4) Supposing that the ".ld" files are what "ld" looks for, how do 
   I now what ".LIB" and ".obj"-files should be present. There is
   a definite overlap between the GNAT installation and the files
   in the Win32Lib. There is even multiple occurences of several
   symbols WITHIN the Win32Lib.

5)  Supposing that I get the Win32Ada sample programs to work,
    what do I need to do to enable me to choose whether the 
    application should be linked for a DOS-window text IO or a 
   Win32 proper window? Is the switch "-mwindows" sufficient?



      Please respond to "Desperate"    ;-)


        Daniel
    


---------------------------------------------------------
with Standard_Disclaimer; -- use Standard_Disclaimer;
---------------------------------------------------------




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-06-03  0:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-06-03  0:00 GNAT and Windows95: help needed Daniel Wengelin
1996-06-03  0:00 ` Tom Griest
1996-06-03  0:00 ` Theodore E. Dennison

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox