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 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.

    cheers,
      DaveK


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to