Am Freitag 20 Oktober 2006 14:15 schrieb Marcel Holtmann:
> > > Actually I prefer to keep all of them in case people cross-compile it
> > > unless you have an idea. Or is $host always the target architecture.
> >
> > $host is the platform that the code will run on. So yes, this will also
> > work for cross-compilation.
> > I test for LD because this is usually left out and you should use the
> > wrong one on cross-compilation. Just a careful approach to
> > AC_CANONICAL_HOST.
>
> lost you here. What do you mean?

With such lines you get:
checking for i586-mingw32msvc-ld... i586-mingw32msvc-ld
and @LD@ will be substituted.
"ar" and other tools are handled mostly automaticall, just not ld.
However, not needed for normal compiling and libtool does a similar check. You 
can omit it, just never use ld manually (as that would break 
cross-compilation).

I just found out that for cross-configure to work, you also have to export 
PKG_CONFIG_LIBDIR to a cross-compile dir or libusb will always be found if 
installed for the running system.

HS

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Openobex-users mailing list
[email protected]
http://lists.sourceforge.net/lists/listinfo/openobex-users

Reply via email to