Quoting Alex Huntley <[email protected]>:

>
>
>
>
> Hi
>
> Just to let anyone reading this know that I've cracked it:
>
> __gnat_eh_personality and all of the other undefined stuff was in libgnat.a
> so by including this in the ghdl elaboration command, all is now hunky dory:
>
> 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.

_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to