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?
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?
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.
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.
Heh, answering my own question....

NWT Vintage TUMI Safecase Deluxe Adjustable Computer Brief Bag 2632 w/ Sleeve
$449.50
Vintage Computer - PC Innovation Intel 486DX2 - Dos Ver 6.2 Windows 3.1
$250.00
Vintage Teac FD-505 5.25" 3.5" Combo Drive 19307571-00
$199.99
Lot of 2 Vintage Plextor PX-43CS SCSI CD-ROM Caddy Drives + 4 Caddies Used
$55.99
Lot of 4 Vintage Intel i486 DX2 CPU Processors for Gold Scrap Recovery
$99.99
NCR System 3000 UNIX SVR4 MP-RAS Administrator Guide Manual D1-2266-E Vintage
$200.00
Bering OptiPac 3315 OPT 401 205 HP / IBM Vintage Storage PC Computer 1983 3.5”
$100.00
AU SELLER VINTAGE SOUND CARD RME DIGI 96/8 PRO "A" GRADE EXAMPLE -TESTED
$390.48
🔥 RARE VINTAGE HP 2113A 21MX 1000 E-SERIES MINICOMPUTER CHASSIS BACKPLANE
$249.00
🔥 RARE VINTAGE HP 2112A 21MX M-SERIES 16-BIT MINICOMPUTER HP
$299.99