This is the mail archive of the
mailing list for the Cygwin project.
Re: Some library fail to be found when compiling a little program of GCC
> 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 compiling .c file with some paraments.
> Could you give me the way to using the 'ld' instead of 'gcc'?
Just don't bother. Use arm-linux-gcc instead; it understands all the same
options and passes them through to ld, while adding the necessary -L options for
it to find the libraries.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple