cross-development library path under cygwin
Don Alpert
donalpert@alum.mit.edu
Fri Oct 8 04:19:00 GMT 2004
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@alum.mit.edu
Camelback Computer Architecture, LLC
www.camelback-comparch.com
More information about the Gcc-help
mailing list