summaryrefslogtreecommitdiff
path: root/BUILD
blob: 74dd8a78cf0b73274accd975ed5b38db80b38734 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 (substituting paths appropriately):

autoconf

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

# one needs libkpathsea-dev temporarily until it is completely removed