Arm toolchain with gcc / newlib / VFP / hard float - can it be done?
Freddie Chopin
freddie_chopin@op.pl
Tue Feb 26 08:39:00 GMT 2013
W dniu 2013-02-26 09:28, Joe Button pisze:
>> You'll need to add another multilib option, but that would be all you
>> need to change...
> Can you give me a hint as to how / where I'd do this? Would that be an
> amendment to the GCC source or is there some easier / less invasive way?
In the build-toolchain.sh there's this line:
MULTILIB_LIST="--with-multilib-list=armv6-m,armv7-m,armv7e-m,armv7-r"
You'll need to add your arch to it (you may as well remove rest of them
if you don't need them). Then you should check how that
--with-multilib-list is implemented in GCC and add definition of your
arch where required - I think (but I'm not 100% sure) you'll only need
to provide multilib config for your arch in one of makefile fragments
4\/3!!
More information about the Newlib
mailing list