Hello,
What is the right way to add a library to a toochain ?

I have successfully linked the zlib library :
  copy it into the TARGET-PREFIX/lib directory so that the linker find
it
  copy every .h files in TARGET-PREFIX/include directory or in
TARGET-PREFIX/include/zlib-1.1.3 ?

(TARGET-PREFIX=/usr/arm/arm-linux on my system)

In fact, if I copy .h files in TARGET-PREFIX/include/zlib-1.1.3
directory, I am compelled to explicitly indicate to the linker the PATH
to it even if I indicate the PATH to TARGET-PREFIX/include in the
Makefile. Is it a known behaviour ? I though the linker was expected to
look in the subdirectories...

Xavier.

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to