LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-29-2004, 09:18 PM   #1
yccheok
LQ Newbie
 
Registered: Nov 2004
Posts: 4

Rep: Reputation: 0
which software architecture should i use?


hi, when i perform "uname -a" in my home machine, i obtain the machine info, processor info and hardware architecture info. their value are either 386 or 686.

i was wondering which information i should folo when i make a decision on which of the software architecture can be used in my machine?

i realize in most of the yum config which i had seen, they are using the "uname -i" information. "uname -i" is the hardware architecture infomation.

my hardware architecture information is 386 but my processor (which is pentium 4) is 686. so, can i still use the 686 arch software?

thank you very much!

-yan cheng
 
Old 11-29-2004, 09:42 PM   #2
jchance
Member
 
Registered: Sep 2003
Location: New Hampshire USA
Distribution: Mandriva 2006 & 2007 Power Pack Club
Posts: 178

Rep: Reputation: 30
I would think you should be able to. The 386, 486, 586, etc when listed with an application is what optimization flags were used in the binary or set in the source.
 
Old 11-29-2004, 09:44 PM   #3
yccheok
LQ Newbie
 
Registered: Nov 2004
Posts: 4

Original Poster
Rep: Reputation: 0
did you noe the reason why my hardware architecture information is 386 although my processor architecture is 686?
 
Old 11-29-2004, 09:57 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Probably because your kernel was compiled without any of the 486 or Pentium optimizations.
 
Old 11-29-2004, 11:34 PM   #5
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
it is possible for your machine as it is (compatable with the software you have already)
to run programs compiled with -march=pentium4
anything less (older) than that but for intel is ok as well.
http://gcc.gnu.org/onlinedocs/gcc-3....002d64-Options
just so you know how far back you are going when you use code optimized even for 686
as for what uname -i says mine says "unknown"
-i is short for hardware-platform which seems quite vague when you consider the wide range of platforms linux will run on and what would amount to thousands of names like "Sun Enterprise 3000" on and on
so i think the use of uname -i in the program or script you mention is a mistake and they should use
uname -m would work better. The whole thing is a mess and what it amounts to is your machine running code compiled for a processor 386 from 1985 -- lets see in one month that will be 20 years ago !

Last edited by foo_bar_foo; 11-29-2004 at 11:35 PM.
 
Old 11-30-2004, 03:32 AM   #6
yccheok
LQ Newbie
 
Registered: Nov 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by foo_bar_foo
it is possible for your machine as it is (compatable with the software you have already)
to run programs compiled with -march=pentium4
anything less (older) than that but for intel is ok as well.
http://gcc.gnu.org/onlinedocs/gcc-3....002d64-Options
just so you know how far back you are going when you use code optimized even for 686
as for what uname -i says mine says "unknown"
-i is short for hardware-platform which seems quite vague when you consider the wide range of platforms linux will run on and what would amount to thousands of names like "Sun Enterprise 3000" on and on
so i think the use of uname -i in the program or script you mention is a mistake and they should use
uname -m would work better. The whole thing is a mess and what it amounts to is your machine running code compiled for a processor 386 from 1985 -- lets see in one month that will be 20 years ago !
so, for a particular software, when there is a 686 choice and 386 choice, which one will best suit for me in term of stability and speed performance?

thank you very much!

-yan cheng
 
  


Reply



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
Architecture help LoserDude27 SUSE / openSUSE 2 11-27-2005 03:19 AM
Replacing a Council's software architecture with open source d00bid00b Linux - Software 2 11-21-2005 07:05 PM
finding software for my architecture santaliqueur Linux - Newbie 5 08-26-2005 07:03 PM
What architecture would I use? johnnyICON Linux - Newbie 1 12-08-2004 11:36 AM
Architecture TX_metalhead Linux - General 5 02-04-2002 04:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:51 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