[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] error compile



Hi,

risc@tiscali.it wrote:

> but also with this patch : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/archive/2005/01/msg00031.html
> the error persists but this time there is a ne error:
> 
> mb-ld.real: cannot find -lxil

This has been discussed at length in the mailing list, however I think 
I've finally figured out the cause, rather than just a hack solution.

It's the XILINX_EDK environment variable, that is set when you do a full 
install of EDK on a system.  If you just install my uclinux-ified 
toolchain, on a clean linux box with no EDK install, that var is not 
set, and the compiler cannot find the libxil file.

This explains why some people get this error, and some don't.

Possible solutions:

1. copy the libxil.a file from an EDK installation into the 
/microblaze/lib/ subdir of the toolchain

or

2. install the EDK first, then install the uclinux toolchain, and place 
it first in the path (before the edk's version of gcc).

I realise this is all a bit of a hack, we're working with Xilinx to make 
sure it's all a lot cleaner in the next release (7.1).

Regards,

John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/