Compiling module source under DSL


Forum: Other Help Topics
Topic: Compiling module source under DSL
started by: rickbol

Posted by rickbol on Aug. 24 2005,17:01
How do I setup a build environment for compiling driver source under a CF installed DSL machine?

I've downloaded kernel-2.4.26 and driver source, but I don't know where to build and how (can I use tcc?). I only have 128MB RAM, so I can't copy kernel source to the ramdrive...


Any direction? Thanks.

Rick

Posted by kopsis on Aug. 24 2005,23:19
You're going to need a complete gcc 2.95 toolchain, kernel source, DSL kernel headers (and .config) extension, and the gnu-utils extension. It can be done on a DSL system (I've done it with a frugal install to a QEMU virtual machine) but it's a good deal of work to get set up. It may be possible to set up a similar environment on your CF based system but you better have at least a 512MB CF card.

The easier way is to build on a regular desktop system using a 2.4.26 based Knoppix CD and then simply move the binary module and any configs over to the target system.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.