comp.lang.ada
 help / color / mirror / Atom feed
From: "=:-) Vincent" <vb@bruker.fr>
Subject: from ObjectAda to GNAT (for NT)
Date: 1998/10/14
Date: 1998-10-14T00:00:00+00:00	[thread overview]
Message-ID: <908352389.154149@dedale.pandemonium.fr> (raw)

Hi  !

Does anybody know how to build a program
(developped with OA) with GNAT ?! The thing is
that I use OA libraries (Win32.lib) and packages
(Win32-Winbase.ad*, Win32-Sql.ad*,...).
I've downloaded a Win32Ada binding for GNAT from
http://stad.dsl.nl/~jvandyk/#WIN32ADA in order
to replace OA packages and libraries by the GNAT ones.
However, if I use win32ada.a (the GNAT win32 library)
instead of Win32.lib (but using the OA win32 packages)
the linker tells me:

lib/win32ada.a(var.o)(.text+0x64):var.c: undefined reference to
`MessageBoxA@16'
D:\USR\lib/libmingw32.a(main.o)(.text+0x7d):main.c: undefined reference to
`WinMain@16'
make: *** [p2.exe] Error 1

And if I try to compil the GNAT win32 packages,
the compiler finds a lot of errors.

What can I do ?

Thanks.







             reply	other threads:[~1998-10-14  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-14  0:00 =:-) Vincent [this message]
1998-10-14  0:00 ` from ObjectAda to GNAT (for NT) Jerry van Dijk
replies disabled

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