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
Rare Gemini C1 Tseng Labs ET6000 4MB PCI VGA MDRAM vintage dos gaming
$199.00
Vintage IBM OS/2 Warp Version 3 w/ BonusPak - IBM CD ROM 1994 UNUSED New In Box
$49.95
2005 Vintage Apple Mac Mini A1103, 1.42GHz G4, 512MB RAM, 80G HD, DVD
$129.99
Vintage 1994 Designer Dozen FontPack 3.5" Floppy Disk Software Apple Macintosh
$12.99
Vintage Apple Lisa Brochure, very nice condition
$50.00
Vintage APPLE Design Macintosh Keyboard Model M2980 UNTESTED
$32.97
Vintage Computer Mouse - Todays Mouse - Windows 95 P S/2
$9.99
VINTAGE MOTHERBOARD INTEL 486 33 MHZ. WITH CPU RAM AND 3 CARDS
$99.00
Vintage Blue ATX Mid-Tower Computer Case w/ DVD Burner + Floppy Drive, No PSU
$99.99
SEALED Vintage Western Digital Value Line Hard Drive 3.5-Inch Enhanced IDE 25 GB
$100.00