Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ARM: changing -mfloat-abi CFLAGS
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
XavierMiller
Moderator
Moderator


Joined: 23 Jul 2004
Posts: 5528
Location: ~Brussels - Belgique

PostPosted: Thu Sep 01, 2011 8:47 am    Post subject: ARM: changing -mfloat-abi CFLAGS Reply with quote

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?
_________________
Xavier Miller
(FR) Merci de respecter les règles du forum.
http://www.xaviermiller.be
Back to top
View user's profile Send private message
mattst88
Developer
Developer


Joined: 28 Oct 2004
Posts: 362

PostPosted: Thu Sep 01, 2011 6:23 pm    Post subject: Reply with quote

It's not possible to switch. You'll have to start from a hardfp stage.
_________________
My 1U Dual 833 MHz Alphaserver DS20L
The AlphaLinux.org Wiki
Back to top
View user's profile Send private message
XavierMiller
Moderator
Moderator


Joined: 23 Jul 2004
Posts: 5528
Location: ~Brussels - Belgique

PostPosted: Thu Sep 01, 2011 7:06 pm    Post subject: Reply with quote

Hello,

I changed the stage3, using a "hardfp" one.
Changing CFLAGS did not work, at least for zlib, the first package to recompile...
_________________
Xavier Miller
(FR) Merci de respecter les règles du forum.
http://www.xaviermiller.be
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum