bug-libtool
[Top][All Lists]
Advanced

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

libtool cross compiling with heimdal


From: Love Hörnquist Åstrand
Subject: libtool cross compiling with heimdal
Date: Sun, 27 Sep 2009 22:45:46 -0700

Hello,

I'm using libtool in Heimdal and have some questions about cross compiling.

What flags should I pass to libtool to make sure it picks up libraries to link with and .la files from the target's environment.

Today I use LDFLAGS="-XCClinker -B$pathtotargetroot/usr/lib", but then, that seems like a gross hack since I also have to patch up sys_lib_search_path

I could compile ld to use --sysroot, but then, how do I make sure that .la files are picked up from the target enviroment instead of the host enviroment.

Process to cross compile heimdal is documented here:

        http://www.h5l.org/compile.html#cross

Thanks,
Love






reply via email to

[Prev in Thread] Current Thread [Next in Thread]