Cross compiling with pkg.m4

2008-04-20 Thread John Darrington
pkg.m4 doesn't behave in a very rational way, when configured with --host=xyzzy All the PKG_CHECK_MODULES macros continue to find the local modules, not the ones for target xyzzy.Consequently, the build fails when the compiler/linker can't find the header/library for the necessary packages.

Re: Cross compiling with pkg.m4

2008-04-20 Thread Erik de Castro Lopo
John Darrington wrote: pkg.m4 doesn't behave in a very rational way, when configured with --host=xyzzy I successfull use pkg-config when compiling from Linux to windows using: ./configure --host=i586-mingw32msvc --target=i586-mingw32msvc --build=i586-linux My i586-mingw32msvc-pkg-config

Re: Cross compiling with pkg.m4

2008-04-20 Thread Brian Dessent
John Darrington wrote: pkg.m4 doesn't behave in a very rational way, when configured with --host=xyzzy All the PKG_CHECK_MODULES macros continue to find the local modules, not the ones for target xyzzy.Consequently, the build fails when the compiler/linker can't find the header/library