Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel uses sse only, though -mfpmath=sse,387 is set...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Xe
Apprentice
Apprentice


Joined: 02 Sep 2004
Posts: 254
Location: Karlsruhe, Germany

PostPosted: Mon Feb 28, 2005 7:35 pm    Post subject: Kernel uses sse only, though -mfpmath=sse,387 is set... Reply with quote

Hi!

I'd like to compile my kernel with the Cflag "-mfpmath=sse,387", but instead of using both instruction sets GCC compiles the kernel with sse arithmetics only:

Quote:
warning: 387 instruction set disabled, using SSE arithmetics


As processor family I selected "Athlon/Duron/K7" in the kernel. My CPU is an Athlon XP 2500+.

What do I have to do now to get get both, the sse- and the 387-Mathunit, to work?

I'd be happy if you could help me with this problem. ;)

P.S.: Sorry for my bad English but it's not my mother tongue...
Back to top
View user's profile Send private message
Sith_Happens
Veteran
Veteran


Joined: 15 Dec 2004
Posts: 1807
Location: The University of Maryland at College Park

PostPosted: Mon Feb 28, 2005 7:59 pm    Post subject: Reply with quote

It's usually best to leave the kernel alone cflag wise, but if you really want to mess with it here is a link on how to compile the kernel with different CFLAGS.
_________________
"That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Tue Mar 01, 2005 1:21 am    Post subject: Reply with quote

use a kernel with a cflags hack built in
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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