freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] about freetype-1.3.1 compile issue


From: Giant SZ Li
Subject: Re: [ft-devel] about freetype-1.3.1 compile issue
Date: Fri, 24 Feb 2006 09:17:35 +0800


Dear mpsuzuki:

     Thank you for your help, you are very kindly, yes, I also compiled libttf.a
and it can run on my arm7 platform, I love the turetype project,
thank you again!

thanks + br!

giant

Philips china








address@hidden

2006-02-23 10:02 PM

To
address@hidden
cc
Giant SZ Li/SZP/CE/address@hidden
Werner LEMBERG <address@hidden>
Subject
Re: [ft-devel] about freetype-1.3.1 compile issue
Classification





Hi,

A few exchange with Giant, we could build libttf.a,
so I post a short summary to cross build freetype-1.3.1,
for search engine users :-).

On Tue, 21 Feb 2006 07:01:23 +0100 (CET)
Werner LEMBERG <address@hidden> wrote:
>> but how can I configure for my embedded arm7 system?
>
>Normally this is controlled with the --host, --build, and --target
>options of the configure script.  I can't remember whether version 1.x
>supports cross compiling.

configure in freetype-1.3.1 tarball is not ready for
cross building. to recreate configure supporting cross
buidling, commenting-out "AC_REQUIRE([AC_PROG_MAKE_SET])"
and executing autoconf again is enough.

However, in this case (target is arm-linux-uclibc, not
arm-uclibc-linux) config.sub could not recognize target
system name. small fix is required for config.sub aslike:

--- config.sub.orig                 2006-02-21 19:42:24.000000000 +0900
+++ config.sub                 2006-02-21 19:40:12.000000000 +0900
@@ -68,7 +68,7 @@
# Here we must recognize all the valid KERNEL-OS combinations.
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
case $maybe_os in
-  linux-gnu*)
+  linux-gnu* | linux-uclibc* )
    os=-$maybe_os
    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
    ;;

I think it's enough to build libttf.a. Unfortunately,
test programs (like ftdump) are not ready for cross
build. Anyway, I wish people to migrate to FreeType2,
as Werner wrote.

Regards,
mpsuzuki


reply via email to

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