Forum: GHDL Re: FW: [Fwd: Re: Implementing foreign function in Ada]

Posted by Alex Huntley (Guest)
on 2008-12-17 17:36
(Received via mailing list)
_______________________________________________
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss
Posted by unknown (Guest)
on 2008-12-18 11:41
(Received via mailing list)
Quoting Alex Huntley <alexn.huntley@virgin.net>:

>
> ghdl -e -v -Wl,-L/usr/lib/gcc/i486-linux-gnu/4.3/rts-native/adalib/
> -Wl,-lgnat -Wl,-lmy_lib my_entity
>
> It looks like I had built the stand-alone library correctly after all, which
> was a relief as I've read the gnat manual so many times!
>
> Anyway, thanks for the help Tristan

You're welcome.
I was slightly confused as I thought you wanted to use vpi.

Anyway, you also should read
http://ghdl.free.fr/ghdl/Linking-with-Ada.html#Linking-with-Ada

Tristan.
Posted by Alex Huntley (Guest)
on 2008-12-18 20:40
(Received via mailing list)
No worries.

I did read my original message back and thought that actually it wasn't
that clear. I was going to attach a load of code but I thought that it
was probably something trivial and I didn't want to presume to take too
much of anybody's time.

Anyway, this things help one learn and as I said I appreciate your time
Tristan.

Cheers

Alex
Posted by Tristan Gingold (Guest)
on 2008-12-18 21:25
(Received via mailing list)
On Thu, Dec 18, 2008 at 07:40:26PM +0000, Alex Huntley wrote:
> No worries.
> 
> I did read my original message back and thought that actually it wasn't
> that clear. I was going to attach a load of code but I thought that it
> was probably something trivial and I didn't want to presume to take too
> much of anybody's time.
> 
> Anyway, this things help one learn and as I said I appreciate your time
> Tristan.

Thanks,
you're welcome!

Tristan.
This topic is locked and can not be replied to.