summaryrefslogtreecommitdiff
path: root/BUILD
blob: af645be8ed49c42ef54826c7e3b50072197fde01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
This file documents build instructions.

Building fontutils with GCC 4.5.2 doesn't require a seperate GCC installation 
but it is recommended that if you are using a GNU/Linux distribution with a 
different version of GCC that you install a new version into a self-contained 
directory. 

After you have successfully installed a self-contained version of GCC 4.5.2 
then try:

autconf

CC="/opt/gcc/install/bin/gcc" LD_LIBRARY_PATH="/opt/mpc/install/lib:/opt/mpfr/install/lib:/opt/gmp/install/lib" ./configure

CC="/opt/gcc/install/bin/gcc" LD_LIBRARY_PATH="/opt/mpc/install/lib:/opt/mpfr/install/lib:/opt/gmp/install/lib" make

You might need to install the xt and xaw development libraries.  
On Debian GNU/Linux:

apt-get install libxt-dev libxaw7-dev