Question on my failed build, if someone can make sense of this. I did the summon-arm and its TARGET=arm-elf but when I tried to compile first time, the ARM_ABI=none-eabi
instead I changed it to match my elf setup:
In the howto docs it does somewhat contradict. It talks about none-eabi and elf both. this is from: http://magiclantern.wikia.com/wiki/Build_instructions/Unified
Example, early on, after summon-arm it says:
This will install arm-elf-gcc under ~/arm-toolchain462/bin.
I even tested the .c file and got a .o that with 'file' showed it was arm executable.
Later, though it talks about:
If you are using the official ARM toolchain in the same file also set ARM_ABI=none-eabi and ARM_PATH as appropriate.
which is it, none-eabi or elf? If I do elf it starts compiling, if I leave it at none-eabi it won't run because the arm compiler doesn't have a file named arm-eabi* at all. (this may just be a red herring, but trying to understand.)
but then when I compile the source, using elf not none-eabi, it runs for a while and errors out:
[ VERSION ] ../../platform/60D.111/version.bin
[ VERSION ] ../../platform/60D.111/version.c
[ CC ] version.o
make -C ../../tcc
make: Entering directory `/home/pdavis/src/magiclantern/magic-lantern/tcc'
make: Nothing to be done for `all'.
make: Leaving directory `/home/pdavis/src/magiclantern/magic-lantern/tcc'
[ LD ] magiclantern
/home/pdavis/arm-toolchain462/lib/gcc/arm-elf/4.6.2/../../../../arm-elf/bin/ld: error: version.o uses VFP instructions, whereas magiclantern does not
so I'm confused. What could I be doing wrong? Or is there some new error in the recent commits to the tree?
Any help would be greatly appreciated. Also I'm on a fedora linux build and I installed the required deps listed, but I still ended up having to install the following RPM's:
another note is when installing the perl modules on redhat you don't need to use CPAN for most. I was able to install File::Slurp with:
yum install perl-File-Slurp. Those things could help clarify a bit on the redhat/fedora build processes. (maybe its assumed that if I'm building anything, I'd already have gcc, patch and texinfo, but just in case)
I am on an older fedora, 11 I think, that may be part of the issue? The gcc I have locally is 4.4.1 but the one used by the arm toolchain seems to be 4.6.2.