View previous topic :: View next topic |
Author |
Message |
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8706 Location: ~Brussels - Belgique
|
Posted: Thu Sep 01, 2011 8:47 am Post subject: ARM: changing -mfloat-abi CFLAGS |
|
|
Hello,
I have a Pandaboard, and I've used a stage3 which was build using softfp FPU emulation.
The Pandaboard can use hardware FPU, so I tried to change my CFLAGS to
Code: | CFLAGS="-O2 -pipe -march=armv7-a -mfpu=neon -mfloat-abi=hard" |
But it won't work: I got messages like Code: | libz.a(adler32.o) uses VFP register arguments, example64 does not |
So for the moment my CFLAGS are Code: | CFLAGS="-O2 -pipe -march=armv7-a -mfpu=neon -mfloat-abi=softfp" |
Is it possible to change the CFLAGS? Or do I need to start again with a "hard FPU" stage? _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
mattst88 Developer
Joined: 28 Oct 2004 Posts: 422
|
Posted: Thu Sep 01, 2011 6:23 pm Post subject: |
|
|
It's not possible to switch. You'll have to start from a hardfp stage. _________________ My Wiki page |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8706 Location: ~Brussels - Belgique
|
Posted: Thu Sep 01, 2011 7:06 pm Post subject: |
|
|
Hello,
I changed the stage3, using a "hardfp" one.
Changing CFLAGS did not work, at least for zlib, the first package to recompile... _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
|