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

Re: [microblaze-uclinux] Compile issues gcc toolchain for microblaze (Binutils(gas))



Hi Chris,

On Thu, Jan 15, 2009 at 6:54 AM, Chris Pane <chris.pane@xxxxxxxxxxxxxxxxxxxx> wrote:
OK - so the stock compiler supplied with petalinux appears to not
support the -shared option (Which I need). I have the microblaze gcc
tookchain, but doesn't appear to build out of the gate.

You need to use the glibc / MMU variant - mb-linux-gcc

We are working to unify the MMU and noMMU toolchains, get them both up to the 4.1 series


Getting all
sorts of issues with the binutils (gas specifically) surrounding the
relax_type type. Specifically I'm getting  an incomplete element type
on the line that declares an array

extern const struct relax_type md_relax_table[];

I can manually fix this, but what gives. Does the toolchain just not
build as supplied. Is there a patch to fix this ?

Which toolchain source package are you building?  The MMU (glibc) or noMMU (uClibc) tools?

Regards,

John