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
Grandstream GS-HT802 2 Port Analog Telephone Adapter VoIP Phone & Device, Black
$32.00
VoIP IP Phone SIP WAN FV6020 Fanvil Gigabit Office Support IAX IAX2
$35.56
Yealink T54W IP Phone, 16 VoIP Accounts, 4.3-Inch Color Display, USB 2.0 - Black
$90.99
Yealink SIP-T41P PoE Ultra Elegant VoIP Phone
$29.95
Cisco CP-7945G VOIP Phone With Stand & Handset Business IP Phone 7945
$3.00
New Cisco 7945G IP VoIP Gigabit GIGE Telephone Phone CP-7945G -
$24.95
Cisco CP-8861-K9 5-Line VoIP Business Phone w/ Stand & Handset
$24.98
Cisco CP-8845-K9 5 Line IP Video Phone - Charcoal
$25.00
Cisco 8841 CP-8841-K9 VoIP Business IP Phone (Charcoal)
$49.00
LOT OF 10 Cisco CP-7841-K9 VoIP 4-Line Business Phone w/ Stand Handset Cord
$69.99