From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,dd9f8893419848c3,start X-Google-Attributes: gid103376,public From: "=:-) Vincent" Subject: from ObjectAda to GNAT (for NT) Date: 1998/10/14 Message-ID: <908352389.154149@dedale.pandemonium.fr>#1/1 X-Deja-AN: 400910245 Cache-Post-Path: dedale.pandemonium.fr!unknown@195.10.9.102 Organization: The Pandemonium Group X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Newsgroups: comp.lang.ada Date: 1998-10-14T00:00:00+00:00 List-Id: 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.