[Crosstool] Importance of message about "link against installed libraries"?

Martin Egholm Nielsen martin@egholm-nielsen.dk
Mon Jul 19 12:27:00 GMT 2004

Hi there,

In the final phase of compiling a crosscompiler with Crosstool 
(0.28rc28), it rapidly flashes something like the following across the 

==== 8< ====
Libraries have been installed in:

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
      during execution
    - add LIBDIR to the `LD_RUN_PATH' environment variable
      during linking
    - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
    - have your system administrator add LIBDIR to `/etc/ld.so.conf'

==== 8< ====

How much should one care about this message?
I mean, I've never done that when compiling with the resulting compiler, 
but it seems to work anyway!?


Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com

More information about the crossgcc mailing list