-
Senior Member
registered user
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?
-
Senior Member
registered user
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.
-
Senior Member
registered user
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.
-
Senior Member
registered user
Heh, answering my own question....
Similar Threads
-
By chris-ukl in forum Customising & Remastering
Replies: 0
Last Post: 03-30-2005, 11:04 AM
-
By DimGR in forum General Support
Replies: 1
Last Post: 06-12-2004, 05:26 PM
-
By tmp001 in forum General Support
Replies: 0
Last Post: 04-28-2004, 11:48 AM
-
By BoopaMagal in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 03-24-2004, 12:03 PM
-
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
-
Forum Rules

Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor
$69.99

AMD Ryzen 7 5800X Desktop Processor (4.7GHz, 8 Cores, Socket AM4)
$169.99

Corsair RM750e 750W Fully Modular 80 Plus Gold ATX 3.1 PSU Certified Refurbished
$52.99

HP ProDesk 405 G8 Desktop AMD Ryzen 5 PRO 5650GE 16GB RAM 512GB SSD W11P
$260.49

Intel 4th Gen Core i7-4790 SR1QF 3.60GHz (Turbo 4.00GHz) 8M 4-Core LGA-1150 CPU
$39.99

Intel Core i7-7700T 2.9GHz 8MB Socket LGA1151 Quad Core Processor SR339
$39.99

Intel i7-3770 Quad Core 3.40 Ghz Ivy Bridge Desktop Processor LGA 1155
$24.99

Intel 7th Gen Core i7-7700 3.6GHz 4 Core 8 Thread LGA1151 CPU SR338
$42.99

Maingear Apex Turbo computer rtx 3080 12gb , 64GB Ram, Ryzen 5800x , Parts
$1600.00

Intel Core i9-11900K 3.5GHz 8-Core 16 Thread LGA 1200 11th Gen Desktop CPU SRKND
$250.00