LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Architecture-specific CFLAGS (https://www.linuxquestions.org/questions/programming-9/architecture-specific-cflags-616982/)

Captain_Bodge 01-28-2008 06:09 PM

Architecture-specific CFLAGS
 
First post...

This is Linux-related but I'm putting it in the forum. Hope it's the right one.

I'm running Mandriva 2008 and have been compiling some software myself from source (some of the rpms are not as up to date I want). So, as I'm running on an Athlon I set CFLAGS=-march=athlon-xp. I'm also pretty sure that all the rpms I've installed are compiled for i586 (I guess to ensure maximum compatability). My question is - I've been noticing a few strange issues especially relating to interaction between audio software I've compiled and JACK (which is from an RPM). Could the difference in the architecture specified for the compiler be a cause of this? Or is it likely to cause any problems running some software compiled for athlon and other stuff compiled for i586?

jim mcnamara 01-30-2008 10:55 AM

As a guess, the answer would be yes. If you use different run-time libraries it may be possible to create or read files as newer/older versions than the software expects.


All times are GMT -5. The time now is 07:30 AM.