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
Vintage Macintosh Wireless Optical USB Scrolling Mouse SKU 300169 CompUSA
$50.00
Commodore 1541 5.25" Single Disk Drive Vintage Computer Gaming Sold As Is.
$26.50
Vintage Apple Disk II Analog Card 820-0007
$50.00
386DX Intel A80386DX-25 IV SX543 386 25Mhz vintage CPU GOLD
$13.99
NEW Retro Vintage Microsoft Mouse 2.0 (PS2/Serial Version) IntelliPoint Software
$30.00
Vintage Commodore 64 English I, II, III Public Domain Series W/ Instruction
$29.99
Intel A80387DX-16 FPU Math Coprocessor 16MHz PGA68 Vintage 387 Processor
$25.00
Vintage Coach Laptop Bag Nylon Leather Briefcase Shoulder Padded Bag 6216 Black
$69.99
VINTAGE 1992 NEWPORT SYSTEMS 700-0002-001 REV E GREAT CONDITION
$99.99