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

2009-08-05 Thread coolsand
cc' be used for compiling .c file with some paraments. Could you give me the way to using the 'ld' instead of 'gcc'? Greg Chicares-2 wrote: > > On 2009-08-05 15:39Z, coolsand wrote: >> This is the message relied from the make of GCC as blow: >> arch/s3c

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

2009-08-05 Thread coolsand
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' arch/s3c2410/s3c2410.o(.text+0x8a0): undefined reference to `strncmp' arch/s3c2410/s3c2410.o(.text+0x8c4): undefined ref