nanogui: Compiling the libttf for arm


Previous by date: 30 Jan 2007 17:26:30 +0000 Re: GdImageFromFile displays bitmaps incorrectly, Franco Casadei
Next by date: 30 Jan 2007 17:26:30 +0000 Re: Linking the server to my application, Aaron J. Grier
Previous in thread: 30 Jan 2007 17:26:30 +0000 Re: Compiling the libttf for arm, Gil Glass
Next in thread:

Subject: Re: Compiling the libttf for arm
From: Mira Rezek ####@####.####
Date: 30 Jan 2007 17:26:30 +0000
Message-Id: <9BC4EB93-A1A6-4B86-9C3C-11F06F5C6689@Rezek.com>

Hi Gil and all,

thanks so much for this description - it worked!!

No problems with floating point and we have true type :-)

Greatly appreciated ..
Mira
-------------------------------
Mira Rezek
Rezek Technology Inc.
905-238-5879 ext. 115


On 23-Jan-07, at 10:17 AM, Gil Glass wrote:

> Hello Mira,
>
> I have posted below the series of commands that I used to build the  
> TTF
> library.  However, I was not forced to solve the problem which you  
> find
> yourself confronting regarding the floating point incompatibility  
> so I'm
> not sure whether my method will help.  Still, since you asked:
>
> 1.  Apply the following patch to freetype-1.3.1/Makefile.in.  This
> removes the test programs which cannot be run because they rely on the
> X11 libraries which we don't use:
>
> --- Makefile.in	2006-01-05 09:48:14.000000000 -0500
> +++ freetype-1.3.1/Makefile.in	2006-01-05 09:49:28.000000000 -0500
> @@ -5,12 +5,11 @@
>  MAKEFILE = arch/unix/Makefile
>
>  FTLIBDIR = lib
> -FTTESTDIR = test
>  FTPODIR = po
>
> -all: ttlib tttest ttpo
> +all: ttlib ttpo
>
> -debug: ttlibdebug tttest ttpo
> +debug: ttlibdebug ttpo
>
>  # we can't use the target names 'lib', 'test', etc.
>  # because make will believe that the directories are
> @@ -22,30 +21,23 @@
>  ttlibdebug:
>  	cd $(FTLIBDIR); $(MAKE) -f $(MAKEFILE) debug
>
> -tttest:
> -	cd $(FTTESTDIR); $(MAKE) -f $(MAKEFILE) all
> -
>  ttpo:
>  	cd $(FTPODIR); $(MAKE) all
>
>  install:
>  	cd $(FTLIBDIR); $(MAKE) -f $(MAKEFILE) install
> -	cd $(FTTESTDIR); $(MAKE) -f $(MAKEFILE) install
>  	cd $(FTPODIR); $(MAKE) install
>
>  uninstall:
>  	cd $(FTLIBDIR); $(MAKE) -f $(MAKEFILE) uninstall
> -	cd $(FTTESTDIR); $(MAKE) -f $(MAKEFILE) uninstall
>  	cd $(FTPODIR); $(MAKE) uninstall
>
>  clean:
>  	cd $(FTLIBDIR); $(MAKE) -f $(MAKEFILE) clean
> -	cd $(FTTESTDIR); $(MAKE) -f $(MAKEFILE) clean
>  	cd $(FTPODIR); $(MAKE) clean
>
>  distclean:
>  	cd $(FTLIBDIR); $(MAKE) -f $(MAKEFILE) distclean
> -	cd $(FTTESTDIR); $(MAKE) -f $(MAKEFILE) distclean
>  	cd $(FTPODIR); $(MAKE) distclean
>  	$(RMF) config.cache config.log config.status Makefile \
>                 MakeSub ft_conf.h libtool
> @@ -55,6 +47,5 @@
>
>  depend:
>  	cd $(FTLIBDIR); $(MAKE) -f $(MAKEFILE) depend
> -	cd $(FTTESTDIR); $(MAKE) -f $(MAKEFILE) depend
>
>  # end of Makefile.in
>
> 2.  Configure with the following command line.  The reason for this is
> that the sizes of ints and longs cannot be determined when
> cross-compiling (Note:  you probably only need shared or static.  I
> forget why we did both):
>
> ac_cv_sizeof_int=4 ac_cv_sizeof_long=4 CC=arm-linux-gcc ./configure
> --host=i686-pc-linux-gnu --target=arm-linux --enable-shared
> --enable-static
>
> There may be another parameter that will specify HW vs. SW floating
> point operations but if there is, I'm not familiar with it.
>
> 3.  Finally:
>
> make
>
> This is how I do it. As you can see, I do nothing to address the
> floating point type.  Still, I hope this helps.
>
> Cheers,
> Gil Glass
>
>
> -----Original Message-----
> From: ####@####.####
> ####@####.####
> Sent: Tuesday, January 23, 2007 2:54 AM
> To: ####@####.####
> Subject: nanogui Digest 23 Jan 2007 07:53:43 -0000 Issue 1034
>
>
> nanogui Digest 23 Jan 2007 07:53:43 -0000 Issue 1034
>
> Topics (messages 11384 through 11385):
>
> Compiling the libttf for arm
> 	11384 by: Mira Rezek
>
> Trouble with fonts.
> 	11385 by: Mira Rezek
>
> Administrivia:
>
> To subscribe to the digest, e-mail:
> 	####@####.####
>
> To unsubscribe from the digest, e-mail:
> 	####@####.####
>
> To post to the list, e-mail:
> 	####@####.####
>
>
> ----------------------------------------------------------------------


Previous by date: 30 Jan 2007 17:26:30 +0000 Re: GdImageFromFile displays bitmaps incorrectly, Franco Casadei
Next by date: 30 Jan 2007 17:26:30 +0000 Re: Linking the server to my application, Aaron J. Grier
Previous in thread: 30 Jan 2007 17:26:30 +0000 Re: Compiling the libttf for arm, Gil Glass
Next in thread:


Powered by ezmlm-browse 0.20.