[Clfs-support] Fwd: Re: Mini2440 W.I.P.

Andrew Bradford andrew at bradfordembedded.com
Tue Jul 24 10:26:30 PDT 2012


On Fri, 20 Jul 2012 17:16:18 -0500
Ron McDowell <rcm at fuzzwad.org> wrote:

> On 7/20/12 1:32 PM, Andrew Bradford wrote:
> > On Fri, 20 Jul 2012 12:57:42 -0500
> > Ron McDowell<rcm at fuzzwad.org>  wrote:
> >
> > What's the output of the 'env' command?  That's more informative than
> > your rc file.
> [clfs at d430(Linux)]> env
> CLFS_HOST=i486-cross-linux-gnu
> TERM=xterm-color
> CLFS_TARGET=armv4t-unknown-linux-uclibc

You can't do this.  Set to "armv4t-unknown-linux-uclibceabi" if you want
to use EABI (aapcs or aapcs-linux).  If you don't, you'll hit the "FPA
isn't supported in aapcs" issue later.

> CLFS_FPU=
> CLFS_ARM_ARCH=armv4t
> CLFS_ARM_MODE=thumb

Set to "arm".

> CLFS=/mnt/clfs
> PATH=/mnt/clfs/cross-tools/bin:/bin:/usr/bin
> PWD=/mnt/clfs/sources/Embed
> EDITOR=/usr/bin/vi
> CLFS_ARCH=arm
> PS1=\w\n[\u@\h(Linux)]>
> SHLVL=1
> HOME=/home/clfs
> CLFS_ABI=aapcs

Use "aapcs-linux" instead.  4 byte enums don't cost more but may save
you some trouble down the road.

> CLFS_ENDIAN=little
> CLFS_FLOAT=soft
> HISTFILE=/home/clfs/.sh_history
> _=/usr/bin/env
> OLDPWD=/mnt/clfs/sources

I'm working on the "cannot compute suffix of object files" issue,
hopefully I'll have something useful soon.

-Andrew



More information about the Clfs-support mailing list