comp.lang.ada
 help / color / mirror / Atom feed
From: Alessandro <busato@newtech.it>
Subject: Re: Problem with the win32ada binding
Date: 1998/07/31
Date: 1998-07-31T00:00:00+00:00	[thread overview]
Message-ID: <35C1AA9C.4A3FF91A@newtech.it> (raw)
In-Reply-To: 6pqfva$84t$1@platane.wanadoo.fr

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







      parent reply	other threads:[~1998-07-31  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-30  0:00 Problem with the win32ada binding daniel gaudry
1998-07-30  0:00 ` Jerry van Dijk
1998-07-31  0:00 ` Alessandro [this message]
replies disabled

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