Re: Some library fail to be found when compiling a little program of GCC

2009-08-05 Thread Dave Korn
coolsand wrote: > Hi, link command : > /bin/arm-linux-ld -v $(LINKFLAGS) \ > $(HEAD) \ > $(CORE_FILES) \ > $(DRIVERS) \ > $(LIBS) \ > -o vivi-elf $(CLIBS) > I use the 'LD' to link indeed, but I think using it is also correct whe

Re: Some library fail to be found when compiling a little program of GCC

2009-08-05 Thread coolsand
Hi, link command : /bin/arm-linux-ld -v $(LINKFLAGS) \ $(HEAD) \ $(CORE_FILES) \ $(DRIVERS) \ $(LIBS) \ -o vivi-elf $(CLIBS) I use the 'LD' to link indeed, but I think using it is also correct when 'Gcc' be used for c

Re: Some library fail to be found when compiling a little program of GCC

2009-08-05 Thread Greg Chicares
On 2009-08-05 15:39Z, coolsand wrote: > This is the message relied from the make of GCC as blow: > arch/s3c2410/s3c2410.o: In function `command_cpu': > arch/s3c2410/s3c2410.o(.text+0x87c): undefined reference to `strncmp' Please show the command line that you used for linking. Perhaps you tried li