Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
save me from -mieee
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
sae
n00b
n00b


Joined: 09 Apr 2005
Posts: 16
Location: Lund, Sweden

PostPosted: Fri Apr 07, 2006 1:37 pm    Post subject: save me from -mieee Reply with quote

Hello

I have a 21264 (xp1000) based computer; if I understand correctly the -mieee flag is not
really necessary...

If I install stuff by hand, I can change the various CFLAGS in the config files, but how can I get rid of -mieee while still using portage?

thanks

update/correction
I change the CFLAGS of the software after running "make configure"; what I want is to define CFLAGS globally that nothing can override... make.conf is overrided by whatever "make configure" writes in the config files of that particular software...

Does "export CFLAGS=..." have higher authority than the config files of the software?
_________________
"The purpose of computing is insight, not numbers." - Hamming
- AMD athlon 64x2 4600+, 3GB -


Last edited by sae on Fri Apr 07, 2006 2:16 pm; edited 1 time in total
Back to top
View user's profile Send private message
Sleipnir
Guru
Guru


Joined: 20 Sep 2005
Posts: 372
Location: Germany

PostPosted: Fri Apr 07, 2006 1:48 pm    Post subject: Reply with quote

You can adapt the CFLAGS in your /etc/make.conf file. Is this what you need?
_________________
A)bort, R)etry, I)nfluence with large hammer.
Back to top
View user's profile Send private message
sae
n00b
n00b


Joined: 09 Apr 2005
Posts: 16
Location: Lund, Sweden

PostPosted: Fri Apr 07, 2006 1:54 pm    Post subject: Reply with quote

Sleipnir wrote:
You can adapt the CFLAGS in your /etc/make.conf file. Is this what you need?


Does this have higher authority then the flags defined by "make configure", which are in the build directory of the software in question?
_________________
"The purpose of computing is insight, not numbers." - Hamming
- AMD athlon 64x2 4600+, 3GB -
Back to top
View user's profile Send private message
Sleipnir
Guru
Guru


Joined: 20 Sep 2005
Posts: 372
Location: Germany

PostPosted: Fri Apr 07, 2006 2:04 pm    Post subject: Reply with quote

Some packages don't override the systemwide CFLAGS, but I guess some would... :-(
You can check the USE flag documentation for a flag, that
disables the compile flag, but I belief the is none.

Maybe a developer can answer the question!?
_________________
A)bort, R)etry, I)nfluence with large hammer.
Back to top
View user's profile Send private message
Kloeri
Retired Dev
Retired Dev


Joined: 02 Sep 2002
Posts: 144

PostPosted: Tue Apr 11, 2006 9:36 am    Post subject: Reply with quote

-mieee doesn't really make any difference at all on ev6x processors and it won't decrease performance at all.

Basically, -mieee allows the kernel to trap instructions not implemented by the processor and emulate them in software. Since all the instructions are implemented on ev6x processors such as yours no instructions will be trapped.

On older processors (ev4x and to some degree ev5x) -mieee is needed for proper operation and some programs will fail completely if not compiled with -mieee.

My advice is to just ignore the mieee stuff.
Back to top
View user's profile Send private message
sae
n00b
n00b


Joined: 09 Apr 2005
Posts: 16
Location: Lund, Sweden

PostPosted: Tue Apr 11, 2006 1:54 pm    Post subject: Reply with quote

Thanks for the tip...

- The thing is that I need the computer for "serious work" for my master thesis, and although I could get a x86 system, I choose to struggle with my alpha for pure romantic(!!!) reasons... I have to admit that I find it annoying that it is almost impossibile to find reports on optimization experiments for actual mathematical work; the world seems to be populated with morons ;-) whose only need is to run KDE and GNOME...

Thing is that if you have very large measurements to analyse, like EEG and ECG, you may notice that around say 8% increase in speed that you may get from successful optimization...
_________________
"The purpose of computing is insight, not numbers." - Hamming
- AMD athlon 64x2 4600+, 3GB -
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