Hi,
I'm trying to compile a set of C files while running Knoppix in the CD-ROM. At the first glance I made it. But there are some questions - if someone is willing to answer, of course - that I have, because the compilation is not fully functional:
1)How do I make sure that all the libraries needed ( my libraries and the system's ones ) are included in the final executable?
2) How can I indicate a different path for gcc get the INCLUDE files?
3) why won't ./configure work?
4) How do I run the program in the Knoppix environment? ./program ? If the previous one doesn't work...
5) Is there a good web source of information about compiling with Knoppix ?
The makefile I'm using is something like this:
Regards,Code:LIBS= -lm CC=gcc # For normal use #CFLAGS=-ansi -pedantic -Wall -s -O # For debugging CFLAGS=-ansi -pedantic -Wall -g -static TARGETS = sephem look # Now the actual rules all: $(TARGETS) clean: -rm *.o -rm *.log -rm $(TARGETS) sephem: sephem.o astrolib.o astrocon.o support.o $(CC) $(CFLAGS) -o sephem sephem.o astrolib.o astrocon.o \ support.o $(LIBS) look: look.o $(CC) $(CFLAGS) -o look look.o $(LIBS) sephem.o: sephem.c astrolib.h support.h $(CC) $(CFLAGS) -c sephem.c look.o: look.c $(CC) $(CFLAGS) -c look.c astrolib.o: astrolib.c astrolib.h astrocon.h support.h $(CC) $(CFLAGS) -c astrolib.c astrocon.o: astrocon.c astrocon.h $(CC) $(CFLAGS) -c astrocon.c support.o: support.c support.h $(CC) $(CFLAGS) -c support.c
Kepler
Commodore 1541-II Floppy Disk Drive 5.25 C64 with Power Supply (Works)
$125.00
SIDKick Pico Commodore 64 and 128 (C64 / C128) - MOS SID 6581 / 8580 Replacement
$19.99
Vintage Commodore VIC 20 Computer Untested No Power Adapter MADE IN USA Keyboard
$59.99
$160.00
Commodore 128 Computer With Power Supply, Box, Manuals, 1571, 1541, Untested
$450.00
Commodore 64 Game Lot Untested 5 Games And Fast Load Cart. *Read Description*
$56.00
TeensyROM Cartridge for Commodore 64/128: MIDI, Fastload, Emulation, and Network
$65.00
Commodore CP/M Cartridge for C64 (replica of the CP/M CART) BARE PCB
$39.95
RARE Commodore KS64C Personal Computer Keyboard #’d 292/500 - Great Condition
$299.99
Blue Chip BCD/5.25 Commodore 64 Single Floppy Disk Drive Copy Tested w/ PS
$65.00