LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-28-2008, 06:09 PM   #1
Captain_Bodge
LQ Newbie
 
Registered: Jan 2008
Posts: 4

Rep: Reputation: 0
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?
 
Old 01-30-2008, 10:55 AM   #2
jim mcnamara
Member
 
Registered: May 2002
Posts: 964

Rep: Reputation: 36
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to force compile for a specific architecture ie Athlon ? hadding Programming 6 02-15-2016 04:00 PM
Cflags bong.mau Programming 1 04-30-2007 11:08 AM
how to do architecture specific compiles? irfanhab Linux - Software 1 03-26-2005 07:40 AM
cflags exodist Linux - Software 2 01-14-2005 07:44 PM
Using CFLAGS and other options vexer Linux From Scratch 7 08-18-2004 09:04 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration