-
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 Core i7-13700KF - 13th Gen Raptor Lake 16-Core (8P+8E) Desktop CPU Proc... picture](/store/img/g/jHUAAOSwQ5RmYLmZ/s-l225/Intel-Core-i7-13700KF-13th-Gen-Raptor-Lake-16-Core.jpg)
Intel Core i7-13700KF - 13th Gen Raptor Lake 16-Core (8P+8E) Desktop CPU Proc...
$269.99
![AMD Ryzen 9 7900X3D Gaming Processor - 12 Core And 24 Threads picture](/store/img/g/lUEAAOSw4exmMBDH/s-l225/AMD-Ryzen-9-7900X3D-Gaming-Processor-12-Core-And-2.jpg)
AMD Ryzen 9 7900X3D Gaming Processor - 12 Core And 24 Threads
$309.99
![Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture](/store/img/g/7-YAAOSwHaFjXQ2k/s-l225/Intel-Core-i7-12700K-Desktop-Processor-12-8P-4E-Co.jpg)
Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...
$214.99
![Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture](/store/img/g/snwAAOSwhWZhsOrI/s-l225/Intel-Core-i9-12900K-Desktop-Processor-16-8P-8E-Co.jpg)
Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...
$309.99
![Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc... picture](/store/img/g/0eYAAOSwcHZlMDWu/s-l225/Intel-Core-i7-14700K-14th-Gen-20-Core-28-Thread-4-.jpg)
Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc...
$444.99
![AMD Ryzen 5 7600x Processor (5.3 GHz, 6 Cores, LGA 1718/Socket AM5) NEW OEM Tray picture](/store/img/g/TPkAAOSwvv5mT7XN/s-l225/AMD-Ryzen-5-7600x-Processor-5-3-GHz-6-Cores-LGA-17.jpg)
AMD Ryzen 5 7600x Processor (5.3 GHz, 6 Cores, LGA 1718/Socket AM5) NEW OEM Tray
$179.99
![Intel - Core i5-12600K Desktop Processor 10 (6P+4E) Cores up to 4.9 GHz Unloc... picture](/store/img/g/l40AAOSwi61hsOsH/s-l225/Intel-Core-i5-12600K-Desktop-Processor-10-6P-4E-Co.jpg)
Intel - Core i5-12600K Desktop Processor 10 (6P+4E) Cores up to 4.9 GHz Unloc...
$174.99
![AMD Ryzen 5 3600 3.6GHz 6-Core 12T PROCESSOR Socket AM4 CPU 65W B450 picture](/store/img/g/IaIAAOSwmQxfUdRR/s-l225/AMD-Ryzen-5-3600-3-6GHz-6-Core-12T-PROCESSOR-Socke.jpg)
AMD Ryzen 5 3600 3.6GHz 6-Core 12T PROCESSOR Socket AM4 CPU 65W B450
$59.00
![LOT QTY 2 of INTEL XEON 10 CORE E5-2690 V2 25MB 3.00GHZ CPU SR1A5 picture](/store/img/g/NLUAAOSwSoBkpZ7y/s-l225/LOT-QTY-2-of-INTEL-XEON-10-CORE-E5-2690-V2-25MB-3-.jpg)
LOT QTY 2 of INTEL XEON 10 CORE E5-2690 V2 25MB 3.00GHZ CPU SR1A5
$139.99
![Wholesale AMD Ryzen r5-2600x CPU Processor lot picture](/store/img/g/d8IAAOSwXy9mhOs1/s-l225/Wholesale-AMD-Ryzen-r5-2600x-CPU-Processor-lot.jpg)
Wholesale AMD Ryzen r5-2600x CPU Processor lot
$382.77