comp.lang.ada
 help / color / mirror / Atom feed
From: Meskovic Zlatko <zlatko.meskovic@ubs.com>
Subject: Re: gnat3.07 on AIX4.1.4: link problems
Date: 1996/12/16
Date: 1996-12-16T00:00:00+00:00	[thread overview]
Message-ID: <32B502FC.41C6@ubs.com> (raw)
In-Reply-To: 01bbe8ce$b6813a50$262a6282@cln49ae


Pascal Obry wrote:
> 
> ...
>
> 1) first solution
>

I did not try this

> 2) second solution (the best)
> 
> There is a specs file under /.../lib/gcc-lib/.../2.7.2/.
> 
> In this file you'll find a section *startfile: that say which startup file
> to link with. You must use a variable to switch between crt0 and crt0_r.
> The line after *startfile: should read like this :
> 
> %{mcrtr:crt0_r%O%s} %{!mcrtr:crt0%O%s}
> 
> This mean that if crtr is defined then use crtO_r.o else use crt0.o
> 
> Now you must call gnatmake like this :
> 
> > gnatmake hello -largs -mcrtr
> 

I tried this one, and it works.

Where is a description of this specs file ?


thank you pascal

  zlatko

--
Zlatko B. Meskovic
Union Bank of Switzerland
Bahnhofstrasse 41
CH-8021 Zuerich

Email: zlatko.meskovic@ubs.com
Phone: +41 - 236 82 50
FAX:   +41 - 236 94 40




  parent reply	other threads:[~1996-12-16  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-12-12  0:00 gnat3.07 on AIX4.1.4: link problems Meskovic Zlatko
     [not found] ` <01bbe8ce$b6813a50$262a6282@cln49ae>
1996-12-16  0:00   ` Meskovic Zlatko [this message]
     [not found]     ` <01bbeb38$069d5210$262a6282@cln49ae>
1996-12-16  0:00       ` Stephen Leake
1996-12-19  0:00 ` Ken Thomas
replies disabled

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