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
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8706
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?
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
mattst88
Developer
Developer


Joined: 28 Oct 2004
Posts: 422

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 Wiki page
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8706
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...
_________________
Kind regards,
Xavier Miller
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