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

Re: uclibc tools and packages



Hi,

Brendan Simon wrote:

I have some packages at http://uclibc.debian.net/ that might help you here; the "uclibc-toolchain" packages depend on the glibc based cross compilers from emdebian.

I can't see any cross-compiler support. I have an amd64 and i386 host, and I want to cross-compile to a m68k (coldfire) target with uclibc.

Yes, these need to be built from source, by setting $TARGET to "m68k" and building with "fakeroot debian/rules binary-cross". For this to work, you need the glibc based cross compiler installed already.

Essentially, what this package does is transmogrify gcc's "specs" file to add a new option "-uclibc", which is then used by the wrapper script, so it is pretty tightly coupled to the compiler version used.

One day I will set up an autobuilder for this stuff.

   Simon



Reply to: