Compiler for Atmel AT91SAMG20
Daniel Jacobowitz
dan at debian.org
Fri Feb 5 13:00:14 EST 2010
On Fri, Feb 05, 2010 at 10:49:58AM -0600, Andrew wrote:
> The compiler I'm using for the Kernel (Code Sourcery's GNU
> cross-toolchain arm-2008q3-66-arm-none-eabi) is set to pack structs
> by default, and the compilers that I use for userspace applications
> do not pack structs.
That's the wrong compiler. Use the arm-none-linux-gnueabi tools to
build the Linux kernel.
The EABI tools should have the same ABI as the Linux tools though, so
I don't know what you mean by not packing structs. Make sure both
your kernel and userspace compilers are using the EABI! Or, if you
are not using an EABI userspace, disable CONFIG_AEABI.
--
Daniel Jacobowitz
CodeSourcery
More information about the linux-arm-kernel
mailing list