comp.lang.ada
 help / color / mirror / Atom feed
* Re: from ObjectAda to GNAT (for NT)
  1998-10-14  0:00 from ObjectAda to GNAT (for NT) =:-) Vincent
@ 1998-10-14  0:00 ` Jerry van Dijk
  0 siblings, 0 replies; 2+ messages in thread
From: Jerry van Dijk @ 1998-10-14  0:00 UTC (permalink / raw)


: However, if I use win32ada.a (the GNAT win32 library)
: instead of Win32.lib (but using the OA win32 packages)
: the linker tells me:

I'm not sure what you mean by using win32ada.a instead of win32.lib.

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

I suggest you re-install GNAT 3.10p and re-install and rebuild the
win32ada binding according to the instructions.

Then look at the example program at my homepage to see how to compile
a GUI package.

If all this succeeds, then rebuild the application the same way.

Jerry.

-- 
-- Jerry van Dijk  | email: jdijk@acm.org
-- Leiden, Holland | member Team-Ada
-- Ada & Win32: http://stad.dsl.nl/~jvandyk




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

* from ObjectAda to GNAT (for NT)
@ 1998-10-14  0:00 =:-) Vincent
  1998-10-14  0:00 ` Jerry van Dijk
  0 siblings, 1 reply; 2+ messages in thread
From: =:-) Vincent @ 1998-10-14  0:00 UTC (permalink / 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.







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

end of thread, other threads:[~1998-10-14  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-10-14  0:00 from ObjectAda to GNAT (for NT) =:-) Vincent
1998-10-14  0:00 ` Jerry van Dijk

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