Click to See Complete Forum and Search --> : C compiler that will fit on a floppy?


Nekopa
09-19-2001, 02:46 AM
Hi all!
I have just installed Zipham linux on an old 486, and I was wondering if anyone knew of a compiler that will fit on a floppy that I could get to use on this system. Zipham is based on slakware 3.6 but the compiler package for it is 1.9 megs, just too large to fit on a disk. Any ideas?

Thanks in advance

Lee

EscapeCharacter
09-19-2001, 04:17 AM
if you want to learn brain**** im sure that compiler will fit on a floppy, dont think there is a c compiler that will fit though, maybe an old one

jkm
09-19-2001, 03:31 PM
I assume this computer has a hard disk, and your problem is transporting the compiler from one computer to another.

You can split(1) the files with:

split -b 1200k filename filename-

which will split filename into n 1200kilobyte segments prefixed with filename-

you can copy these onto the floppy and

cat filename-ab >>filename-aa to reconstruct the files.

f'lar
09-19-2001, 03:54 PM
^
|
|
What he said. The real trick will be all the include files.

Whipping Boy
09-19-2001, 08:35 PM
f'lar: Well, if you just split the slackpak for the compiler, that's not a problem.

Nekopa: I used Zipham for a while as well...if you haven't already, make sure you change the default keymap from French to US-Latin-1. Otherwise, you'll have a hard time typing :) Of course, in order to do that you'll need an ASCII chart handy because you'll wind up having to input the actual ASCII codes because certain characters are in weird locations on the keyboard because of the different keymapping and it's not worth the trouble to figure out which key actually does what.

Nekopa
09-20-2001, 04:32 PM
Hi All!
Thanks for the replies! I ended up cheating to fix the problem. I Downloaded all the libs, includes compilers (gcc, egcs etc..) and burned them onto a CD. Then hooked up my laptop as a serial terminal to the old machine logged in as root and transferred all the files over. Worked like a charm (See post "Linux and 486" in the hardware related forum)

Lee

P.S. Oh and the keyboard problem was fixed by changing a line in the rc.d (?!?) file to us.map :)