LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-21-2004, 10:43 PM   #1
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
checkinstall creating i386 tgz


Whenever i
./configure
make
checkinstall

checkinstall creates a package-version--i386.tgz

Is that normal? or shouldn't it be i486?

P.s. my cpu is an AMD AthlonXP 2700+
 
Old 09-22-2004, 12:12 AM   #2
melinda_sayang
Member
 
Registered: Dec 2003
Location: Petaling Jaya
Distribution: Ubuntu
Posts: 475

Rep: Reputation: 31
Edit the file checkinstallrc.
............
# Where to place the installed document files
DOC_DIR=""

# Default architecture type (Leave it empty to allow auto-guessing)
ARCHITECTURE="i486"

# Default package type. Leave it empty to enable asking everytime
# S : Slackware
# R : RPM
...............

Got it???
 
Old 09-22-2004, 01:31 AM   #3
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
Quote:
P.s. my cpu is an AMD AthlonXP 2700+
IMHO, that chip is far beyond a 486
 
Old 09-22-2004, 03:28 AM   #4
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
P.s. my cpu is an AMD AthlonXP 2700+

So :
ARCHITECTURE="i686"

But if you compile with CFLAGS="-O2 -march=athlon -msse -pipe"
then :
ARCHITECTURE="athlon"
 
Old 09-22-2004, 04:22 AM   #5
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
hmm

thought athlon's were 786's
 
Old 09-22-2004, 04:49 AM   #6
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
From info gcc :
The
choices for CPU-TYPE are `i386', `i486', `i586', `i686',
`pentium', `pentium-mmx', `pentiumpro', `pentium2', `pentium3',
`pentium4', `prescott', `nocona', `k6', `k6-2', `k6-3', `athlon',
`athlon-tbird', `athlon-4', `athlon-xp', `athlon-mp',
`winchip-c6', `winchip2' and `c3'.

for Intel 386 and AMD x86-64 Options
 
Old 09-22-2004, 08:24 AM   #7
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
Hmm, so the choice is between i686, and Athlon. Will this make any difference in performance?
 
Old 09-22-2004, 08:28 AM   #8
sio
Member
 
Registered: Jul 2003
Location: Louisiana, US
Distribution: Slackware
Posts: 129

Rep: Reputation: 15
As I hear generally said, nothing visible to the naked eye.
 
Old 09-22-2004, 08:35 AM   #9
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by sio
As I hear generally said, nothing visible to the naked eye.
But my eyes are covered with glasses... =]

Thanks guys, i'll choose i686 for now.
 
Old 09-22-2004, 08:39 AM   #10
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
I would think binary generated will be a bit smaller (so a bit faster to load ). But you surelly won't notice any performance differences with optimizing only one executable.
 
Old 09-22-2004, 09:11 AM   #11
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
Quote:
Originally posted by xushi
Hmm, so the choice is between i686, and Athlon. Will this make any difference in performance?
Highly unlikely you will get any difference in performance. Read gcc manual to see what the diff is. The last time I checked (a year plus ago), NIL.
 
Old 09-23-2004, 02:52 AM   #12
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
Changing the value of ARCHITECTURE in checkinstallrc, or with the --arch option, will have no effect on performance. If you read through checkinstall (it's just a script) you'll see that the only purpose of the ARCHITECTURE setting is in naming the slack-package (or *.rpm or *.deb) that checkinstall creates. Which makes sense when you consider that checkinstall is only invoked after the package (tarball) has been compiled.

If you want to optimize for your specific architecture, then, as Cedrik said, you have to pass the CFLAGS and/or CXXFLAGS options to gcc when running 'make'.

Enjoy!
--- Cerbere
 
Old 10-01-2004, 03:38 AM   #13
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
Quote:
Originally posted by Cerbere
Changing the value of ARCHITECTURE in checkinstallrc, or with the --arch option, will have no effect on performance. If you read through checkinstall (it's just a script) you'll see that the only purpose of the ARCHITECTURE setting is in naming the slack-package (or *.rpm or *.deb) that checkinstall creates. Which makes sense when you consider that checkinstall is only invoked after the package (tarball) has been compiled.

If you want to optimize for your specific architecture, then, as Cedrik said, you have to pass the CFLAGS and/or CXXFLAGS options to gcc when running 'make'.

Enjoy!
--- Cerbere
Argh.. finally, my nightmare is over (at least for this part). I thought I have the wrong idea about checkinstall after reading the top posts.

Thanks Cerbere for conferring with my deduction.

Deduction: checkinstall create a Slackware friendly (specific) package from our COMPILED software
 
  


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
Creating RPM's from .tgz files kaplan71 Linux - General 1 03-24-2005 08:23 PM
checkinstall - make tgz, but don't install tw001_tw Slackware 6 03-11-2005 09:45 AM
checkinstall tgz file Seiken Slackware 8 03-10-2005 02:30 AM
MD5 for cedega_4.0-1.i386.tgz? apc Linux - Games 0 07-25-2004 05:55 PM
looking for ltsp_initrd_kit-3.0.1-i386.tgz tasadar Linux - Networking 0 07-28-2003 12:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:13 PM.

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