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



On Thu, 2008-12-18 at 11:39 +0100, [email protected] wrote:
> 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