This is the mail archive of the mailing list for the newlib project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Arm toolchain with gcc / newlib / VFP / hard float - can it be done?

On 26/02/13 08:39, Freddie Chopin wrote:
In the there's this line:


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
Ok, I don't really know what I'm doing here, but I can see that gcc/config/arm/arm-cores.def has this:

ARM_CORE("arm1176jzf-s", arm1176jzfs, 6ZK, FL_LDSCHED | FL_VFPV2, 9e)

and gcc/config/arm/arm-arches.def has this:

ARM_ARCH("armv6zk", arm1176jzs, 6ZK, FL_CO_PROC | FL_FOR_ARCH6ZK)

Which leads me to think perhaps all I need to do is stick "armv6zk" in my MULTILIB_LIST. Does that sound even slightly plausible?

By the way I'm still not sure how this is going to solve the problem of newlib getting built without the hardfloat abi - my gcc can already build with hardfloat, it's just newlib that doesn't seem to end up with it.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]