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,808a4ac0ad8ac9a6 X-Google-Attributes: gid103376,public From: Alessandro Subject: Re: Problem with the win32ada binding Date: 1998/07/31 Message-ID: <35C1AA9C.4A3FF91A@newtech.it>#1/1 X-Deja-AN: 376642410 Content-Transfer-Encoding: 7bit References: <6pqfva$84t$1@platane.wanadoo.fr> Content-Type: text/plain; charset=us-ascii Organization: Centro Servizi Interbusiness Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-07-31T00:00:00+00:00 List-Id: You must rename in \win32ada\lib\win32ada.a to \win32ada\lib\libwin32ada.a, for compiling win32ada examples you should add in the main procedure the following line with Linker_Options; where Linker_Options is a package (from Win32ada First Example by Jerry Van Dijk ) package Linker_Options is pragma Linker_Options("-mwindows"); pragma Linker_Options("-luser32"); pragma Linker_Options("-lgdi32"); end Linker_Options; look in -- Jerry van Dijk | email: jdijk@acm.org -- Leiden, Holland | member Team-Ada -- Ada & Win32: http://stad.dsl.nl/~jvandyk By Alessandro Busato busato@newtech.it daniel gaudry wrote: > I succeeded in patching the sources and setting up many things. The last > problem (I hope) is the linker giving out the following message : > ld: -lwin32ada no such file or directory. > This drove me crazy because the doc I have is very slim on linker switches > and error messages > If somebody known I'be happy > Daniel.Gaudry@wanadoo.fr