Results 1 to 4 of 4

Thread: How to recompile for i686 CPU's?

Hybrid View

  1. #1
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611

    How to recompile for i686 CPU's?

    I'd like to recompile everything in knoppix to i686, and then delete the source and remaster it back into a CD. Is there an easy way to do this with apt?

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    298
    I guess not, though are is apt-src repositories, if you add them to your /etc/apt/sources.list you can get them via apt-get sources packagename. There even seems to be some 'gentoo-like' automatic compilation going on. Though files downloaded and created this way are completely non-managed, aka apt-get won't keep a database about them. See the apt-get man page for more info, I never used it it this way.

    I think you would be better of getting a Gentoo setup and maybe porting some of the Knoppix stuff to it.

  3. #3
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611
    Well, actually there's apt-build, a front-end for apt-get to install source packages and wrap gcc to add your own flags. You don't get use flags like with gentoo, but can optimize for architecture/cpu and use Cflags.

    I'm playing with this now, using

    -mcpu=athlon-xp -march-i686 -O3 -fomit-frame-pointer -ffast-math

    Now its got a few kinks in it. Some packages don't have source available in the sources.list I have. Others you might get yourself into trouble if you upgraded - libc6, knoppix-specific stuff, gcc, openoffice.....

    Its great for installing single optimized packages. Its also got a world option to update from a list (which you need to create).

    Using apt-get upgrade or dist-upgrade would replace your optimized packages, unless you pin them with a higher priority, but then pinned shared libraries might prevent upgrading other packages with apt-get, so that can give you a little trouble.

  4. #4
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611
    Heh, answering my own question....

Similar Threads

  1. Remastering --- how to recompile kernel ?
    By chris-ukl in forum Customising & Remastering
    Replies: 0
    Last Post: 03-30-2005, 11:04 AM
  2. is knoppix 3.4 optimized for i386 or i686?
    By DimGR in forum General Support
    Replies: 1
    Last Post: 06-12-2004, 05:26 PM
  3. I can't recompile kernel 2.4.22-xfs
    By tmp001 in forum General Support
    Replies: 0
    Last Post: 04-28-2004, 11:48 AM
  4. recompile kernel
    By BoopaMagal in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 03-24-2004, 12:03 PM
  5. How To Recompile cloop?
    By bongski55 in forum Customising & Remastering
    Replies: 0
    Last Post: 11-07-2003, 06:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


16GB KIT (2x8GB) DDR3 Gamer Desktop RAM PC3 MIXED BRANDS VIPER VENGEANCE FURY picture

16GB KIT (2x8GB) DDR3 Gamer Desktop RAM PC3 MIXED BRANDS VIPER VENGEANCE FURY

$10.00



MTC8C1084S1SC56BD1 Micron 16GB DDR5 1Rx8 PC5-5600B 5600Mhz SO-DIMM Memory picture

MTC8C1084S1SC56BD1 Micron 16GB DDR5 1Rx8 PC5-5600B 5600Mhz SO-DIMM Memory

$149.99



Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit picture

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit

$99.99



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$21.68



Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC picture

Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC

$29.99



G.SKILL FLARE X5 64GB (2 x 32GB) 6000 MT/s DDR5 (AMD EXPO + INTEL XMP) *CL30* picture

G.SKILL FLARE X5 64GB (2 x 32GB) 6000 MT/s DDR5 (AMD EXPO + INTEL XMP) *CL30*

$785.00



DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix picture

DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix

$66.00



MINT Micron Cisco 32GB PC4-2400T DDR4 2Rx4 RDIMM RAM MTA36ASF4G72PZ-2G3 LOT picture

MINT Micron Cisco 32GB PC4-2400T DDR4 2Rx4 RDIMM RAM MTA36ASF4G72PZ-2G3 LOT

$159.99



Micron 32GB 1x32GB DDR5 5600 CL46 ECC Unbuffered SO-DIMM MTC20C2085S1TC56BD1 picture

Micron 32GB 1x32GB DDR5 5600 CL46 ECC Unbuffered SO-DIMM MTC20C2085S1TC56BD1

$399.00



Corsair Vengeance DDR3 8GB 16GB 32GB 1866MHz PC3-14900 Desktop RAM Memory DIMM picture

Corsair Vengeance DDR3 8GB 16GB 32GB 1866MHz PC3-14900 Desktop RAM Memory DIMM

$85.00