On Mon, 2011-12-19 at 18:07 +0000, Julius Baxter wrote: 
> Hi all,
> 
> I've been working on a library which will provide a standard execution
> trace output format across each of the simulation models.
> 
> It pulls in the libopcodes and libbfd which are generated when
> building our binutils port.
> 
> https://github.com/juliusbaxter/or1ktrace
> 
> I have a number of problems, though and was wondering if anyone can
> suggest how to solve them.

Hi Julius,

I asked Joern Rennecke about this, and he made some comments.

<snip> 

> So if this is the way forward, can anyone suggest how I get the libbfd
> and libopcodes we compile with our binutils installed somewhere? (I've
> tried make install-libbfd and install-libopcodes in the build
> directory and saw it only installed a bunch of .po files get installed
> and no .a's or .so's.)

Joern> The Makefile in the build dir has a target
Joern> install-bfdlibLTLIBRARIES. I think that's the one to try.

> And does anyone know how to get those library
> switches in after the one we've built for the libor1ktrace test
> executable?

Joern> One way would be to put another explicit use of the libor1ktrace
Joern> library before the libbfd switch - assuming the references to the
Joern> former are already there at this point.  Or you could use the
Joern> --undefined=symbol option to force linking in what you need from
Joern> libbfd.

Joern> I'm not sure if you could use a --start-group without a matching
Joern> --end-group to create an open interval.

Joern> If code size is unimportant, you can also try to apply
Joern> --whole-archive to libbfd.


Jeremy

-- 
Tel:      +44 (1590) 610184
Cell:     +44 (7970) 676050
SkypeID: jeremybennett
Email:   [email protected]
Web:     www.embecosm.com

_______________________________________________
OpenRISC mailing list
[email protected]
http://lists.openrisc.net/listinfo/openrisc

Reply via email to