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
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3
$22.45
Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory
$54.99
Hynix 2x 8GB (16GB) PC4-19200 DDR4-2400MHz 288Pin Desktop Memory Module
$19.99
HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin
$23.95
HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM
$9.64
A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G
$13.99
Micron/Samsung/SKHynix 32GB(16GBX2) 1Rx8 PC4-3200AA DDR4 Laptop RAM Memory
$42.99
Lot Of 10 Mixed Samsung 16GB 2Rx4 PC4-2133P RDIMM DDR4-17000 ECC Server Memory
$134.99
Samsung 32GB 1Rx4 PC5-4800 EC4 RDIMM DDR5-38400 ECC Registered Server Memory RAM
$109.99