From: wengelin@algonet.se (Daniel Wengelin)
Subject: GNAT and Windows95: help needed.
Date: 1996/06/03
Date: 1996-06-03T00:00:00+00:00 [thread overview]
Message-ID: <4ov0cc$mkv@epimetheus.algonet.se> (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;
---------------------------------------------------------
next reply other threads:[~1996-06-03 0:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-06-03 0:00 Daniel Wengelin [this message]
1996-06-03 0:00 ` GNAT and Windows95: help needed Theodore E. Dennison
1996-06-03 0:00 ` Tom Griest
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox