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
SanDisk 1TB SSD Plus, Internal Solid State Drive - SDSSDA-1T00-G26
$74.99
Samsung 870 EVO Series 500GB 2.5" SATA III Internal SSD MZ-77E500B/AM New Sealed
$59.00
DT8XJ Dell Intel DC S3700 800GB SATA 6Gb/s 2.5" SSD 0DT8XJ SSDSC2BA800G3R
$59.00
SSDSC2BA800G3P Intel SSD DC S3700 Series 800GB 6Gb/s 2.5'' SATA SSD
$79.00
Crucial BX500 240GB Internal SSD,Micron 3D NAND SATA CT240BX500SSD1 - OEM item
$16.99
Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot
$13.99
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$14.99
Western Digital WDS500G1B0A-00H9H0 500GB 2.5" SSD Grade A SKU 5036
$18.99
Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot
$198.99
Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5" SATA III 6GB/s for PC/MAC Lot
$197.99