RE: cross-development library path under cygwin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have recently installed Microcross's version of gcc for arm under Cygwin
on Windows/XP - my first experience with gcc.

I have been able to compile to elf object format, link, and execute a
trivial program on my target board.  But now I am trying to execute
something simple (more than trivial) and I am getting error messages from
the loader like "undefined reference to 'strlen' " and "undefined reference
to '__udivsi3'"  (a signed integer divide operation is in the source)..  I
suspect that the libc (and possibly other libraries) are not being found by
the loader.  These appear to be located at C:\Cygwin\usr\arm-elf\lib.  I
have tried several ways of specifying that path through $LIBPATH and -L
directives, but I keep getting the same errors.

Does anyone know how to solve this problem?  When I finally get to the right
library path, where will __udivsi3 be found?

Thanks,
Don Apert

-----------------------------------
donalpert@xxxxxxxxxxxx
Camelback Computer Architecture, LLC
www.camelback-comparch.com



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux