[Fontconfig] Re: cross-compiling fontconfig

Owen Taylor otaylor at redhat.com
Wed Jun 18 18:03:49 EST 2003

On Tue, 2003-06-17 at 13:18, Keith Packard wrote:
> Around 8 o'clock on Jun 17, Jace Krull wrote:
> > One approach I've seen is to simply require that the natively compiled 
> > binaries pre-exist in the environment (only when cross compiling). 
> For 'fc-lang' and 'fc-glyphlist', that's not practical as those programs 
> are not installed and so only exist in the build tree.
> We need to find out how to use the --host and --build options to switch 
> compilers.

I don't think this is feasible with autoconf. If you don't to install
these programs, you have two possible approaches:

 A) Simply distribute the generated files with the fontconfig
    distribution; we do this for various source files in GTK+
    that require more exotic dependencies to regenerate.

 B) Allow the user to point the build at a natively compiled 
    uninstalled tree of fontconfig.


More information about the Fontconfig mailing list