]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/topdocs/INSTALL.texi
Add info about CVS.
[lilypond.git] / Documentation / topdocs / INSTALL.texi
1 @node 
2 @comment  node-name,  next,  previous,  up\input texinfo @c -*-texinfo-*-
3 @setfilename INSTALL.info
4 @settitle INSTALL - compiling and installing GNU LilyPond
5
6 @html
7 <!--- @@WEB-TITLE@@=Installation Instructions --->
8 @end html
9
10 @node Top, , , (dir)
11 @top
12
13 @contents
14
15 @chapter INSTALL - compiling and installing GNU LilyPond
16
17
18 This document describes how to build LilyPond on Unix platforms.  It is
19 also known to run and compile on Windows NT/95/98 as well.  More
20 information on this topic can be found at the
21 @uref{http://www.lilypond.org/gnu-windows/, LilyPond on Windows page}.
22
23
24 @html
25 <a name="download-source">
26 @end html
27
28 @section Downloading
29
30 Even numbered versions are `stable'. The webpages for the stable version
31 (1.2) reside @uref{http://www.gnu.org/software/lilypond, on the GNU
32 servers}. Big enhancements go into the latest odd numbered version
33 (1.3), whose webpages are on @uref{http://www.lilypond.org/,the lilypond
34 site}.
35
36 @subsection Source code
37
38 If you want to compile LilyPond from source, download here:
39 @itemize @bullet
40 @item Download development releases from
41 @c Hmm, these won't show up in lilypond.org/stats
42 @c Otoh, lilypond.org is not updated when release mail arrives
43 @uref{ftp://ftp.cs.uu.nl/pub/GNU/LilyPond/} by FTP and
44 @uref{http://ftp.cs.uu.nl/pub/GNU/LilyPond/}, by HTTP.
45 @item @uref{ftp://sca.uwaterloo.ca/pub/} by FTP (Canadian mirror)
46 @item at @code{lilypond.org} 
47 @uref{ftp://ftp.lilypond.org/pub/LilyPond/} by FTP and
48 @uref{http://www.lilypond.org/ftp/} by HTTP.
49 @end itemize
50
51
52 Of course, if your platform supports LilyPond, such as Debian GNU/Linux,
53 FreeBSD, OpenBSD or NetBSD, you're encouraged to use the native build
54 from source drill.
55
56 For Red Hat Linux and SuSE Linux, @file{.spec} files are included in the
57 tarball; see instructions below.
58
59
60 @subsubsection Anonymous CVS access
61
62 Short version:
63
64 @quotation
65 @example
66 cvs -d :pserver:anoncvs@@lilypond.org:/home/lilypond login
67 cvs -d :pserver:anoncvs@@lilypond.org:/home/lilypond co -P lilypond
68 @end example
69 @end quotation
70
71 See @uref{http://lilypond.org/wiki/?CVS} for more information.
72
73 @html
74 <a name="download-binaries">
75 @end html
76
77
78
79 @subsection Precompiled binaries
80
81 If you want to track bleeding edge development, try:
82
83 @itemize @bullet
84 @item @uref{ftp://ftp.debian.org/debian/pool/main/l/lilypond/, Debian
85 GNU/Linux} usually has the latest binaries for the most useful stable
86 and development versions, while
87 @item @uref{http://rpmfind.net/linux/mandrake/cooker/contrib/RPMS/,
88 Mandrake Cooker} also provides fairly recent versions.
89 @end itemize
90
91 Binaries are made available for other popular platforms, but as we need
92 to compile them ourselves, they are not updated for every version
93 released.
94
95 @itemize @bullet
96 @item @uref{ftp://ftp.cs.uu.nl/pub/GNU/LilyPond/binaries/RedHat/RPMS/, Red Hat i386}
97 @item @uref{ftp://ftp.lilypond.org/pub/LilyPond/binaries/SuSE, SuSE}
98 @item @uref{ftp://ftp.lilypond.org/pub/LilyPond/binaries/linuxppc/,
99 LinuxPPC}
100 @item
101 @uref{http://www.lilypond.org/gnu-windows/, Windows}
102 @end itemize
103
104 @subsection Upgrading
105
106 There are two options for upgrading sources.
107
108 @itemize
109 @item if you have an unpacked source tree of a previous version, you
110 may the patches.
111
112 @emph{If you upgrade by patching do remember to rerun autoconf after
113 applying the patch}.
114
115 @item if you have the @code{.tar.gz} file of a previous release, you can
116 use
117 @uref{ftp://ftp.xcf.berkeley.edu/pub/xdelta/, xdelta}.
118  This is much safer than using patches, and is the recommended way.
119
120 The following command produces @file{lilypond-1.4.3.tar.gz} from
121 @file{lilypond-1.4.2.tar.gz} identical (up to compression dates) to the .3
122 on the FTP site.
123 @example
124   xdelta patch lilypond-1.4.2-1.4.3.xd lilypond-1.4.2.tar.gz
125 @end example
126 @end itemize
127
128 @section Requirements
129
130 @subsection Compilation
131
132 You need the following packages to compile Lilypond.
133
134 @itemize
135 @item The GNU c++ compiler (version 2.95.2 or newer).
136 EGCS 1.1 may work, but is no longer supported.
137 Check out @uref{ftp://ftp.gnu.org/gnu/gcc/, the gcc site}.
138
139 WARNING: if you choose to upgrade to GCC 3.x, enquire if your
140 distribution supports g++ 3.x and flex.
141
142 @item Python (version 1.5 or newer).
143 Check out @uref{http://www.python.org, the python website}.
144
145 @item GUILE (version 1.4 or newer).
146 GUILE-1.3.4 may work but is no longer supported.
147 Check out
148 @uref{http://www.gnu.org/software/guile/guile.html,the GUILE webpage}.
149
150 @item GNU Make. 
151 Check out
152 @uref{ftp://ftp.gnu.org/gnu/make/, the GNU
153 make FTP directory}.
154
155 @item Flex (version 2.5.4a or newer). 
156 Check out @uref{http://www.gnu.org/software/flex/,the Flex webpage}.
157
158 WARNING: plain Flex 2.5.4(a) generates invalid C++ code.  GCC 3.x
159 chokes on this.  If you wish to use GCC 3.x, make sure that your
160 distribution supports g++ 3.x and flex.  For a workaround, see
161 lexer-gcc-3.0 below.
162
163 @item Bison (version 1.25 or newer).
164 Check out @uref{http://www.gnu.org/software/bison/,the bison  webpage}
165
166 @item @TeX{}.
167
168 @TeX{} is used as an output backend.
169
170 Also, @TeX{}'s libkpathsea is used to find the fonts (@file{.mf}, @file{.afm}, @file{.tfm}).
171 Make sure you have tetex 1.0 or newer (1.0.6 is known to work).  You may
172 need to install a tetex-devel or tetex-dev package too.
173
174 @item Texinfo (version 4.2 or newer).
175 The documentation of lily is written in texinfo.  Check out
176 @uref{ftp://ftp.gnu.org/gnu/texinfo/,the texinfo FTP directory}.
177
178 @item The geometry package for LaTeX is needed to use ly2dvi.  
179 It is available at
180 @uref{ftp://ftp.ctan.org/tex-archive/macros/latex/contrib/supported/geometry,the
181 FTP directory for @code{geometry}}. This package is normally included
182 with the @TeX{} distribution.
183
184 @item kpathsea, a library for searching (@TeX{}) files.  @code{kpathsea} is
185 usually included with your installation of @TeX{}.  You may need to install
186 a tetex-devel or tetex-dev package too. If kpathsea is not installed in
187 a directory where the compiler normally looks, read the hints for
188 Slackware below.
189
190 In the very unlikely case that kpathsea is not available for your
191 platform (ie, you're not running GNU/Linux, Windows, or any recent
192 UNIX), you can compile LilyPond without kpathsea support.  In that case,
193 you'll probably have to indicate where @TeX{}'s tfm files live.  Invoke
194 configure something like:
195
196 @quotation
197 @example
198 ./configure --without-kpathsea --enable-tfm-path=/usr/share/texmf/fonts/tfm/public/cm/:/usr/share/texmf/fonts/tfm/ams/symbols
199 @end example
200 @end quotation
201
202 @end itemize
203
204 @subsection Running requirements
205
206 GNU LilyPond does use a lot of resources. For operation you need the
207 following software
208
209 @itemize @bullet
210 @item @TeX{}.
211 @item Xdvi and Ghostscript
212 @item GUILE 1.4, or newer.  Check out
213 @uref{http://www.gnu.org/software/guile.html,the GUILE webpage}
214 @end itemize
215
216 For running LilyPond successfully you have to help @TeX{} and MetaFont find
217 various files.  The recommended way of doing so is adjusting the
218 environment variables in the start-up scripts of your shell. Appropriate
219 Csh and bourne sh scripts are left in
220 @file{buildscripts/out/lilypond-profile} and
221 @file{buildscripts/out/lilypond-login} after compilation.
222
223 LilyPond is a big and slow program.  A fast CPU and plenty of RAM is
224 recommended for comfortable use.
225
226 @subsection Website requirements
227
228 The documentation comes in the form of a website. You can view this
229 website on the internet, but you can also build it locally. This process
230 requires a successful compile of lilypond. The website is built 
231 by issuing
232 @example 
233
234   make web-doc
235  
236 @end example 
237
238 Building the website requires some additional tools: 
239
240 @itemize @bullet
241 @item The netpbm utilities, see @uref{http://netpbm.sourceforge.net/}
242 @item pktrace 1.0 or newer, needed for generating PostScript Type1
243 fonts. Get it from @uref{http://www.cs.uu.nl/~hanwen/pktrace/}.  You
244 will need to install some additional packages to get pktrace to work.
245 @end itemize
246
247 @section Building  LilyPond
248
249 to install GNU LilyPond, type:
250 @example 
251         gunzip -c lilypond-x.y.z | tar xf -
252         cd lilypond-x.y.z
253         ./configure             # run with --help to see appropriate options
254         make
255         make install
256         sh buildscripts/clean-fonts.sh      
257 @end example 
258
259 If you are doing an upgrade, you should remove all @file{feta}
260 @code{.pk} and @file{.tfm} files.  A script has been provided to do the
261 work for you, see @file{buildscripts/clean-fonts.sh}.
262
263
264 If you are not root, you should choose a @code{--prefix} argument that
265 points into your home directory, eg.
266 @example 
267
268         ./configure --prefix=$HOME/usr
269  
270 @end example 
271
272 In this case, you have to insert the contents of
273 @code{buildscripts/out/lilypond-login} or
274 @code{buildscripts/out/lilypond-profile} into your start up scripts by
275 hand.
276
277
278
279 @subsection Configuring for multiple platforms
280
281 If you want to build multiple versions of LilyPond with different
282 configuration settings, you can use the @code{--enable-config=CONF}
283 option of configure.  You should use @samp{make conf=CONF} to generate
284 the output in @file{out-CONF}.  Example: suppose I want to build with
285 and without profiling.  Then I'd use the following for the normal
286 build,
287 @c prefix=~ ?
288 @example 
289
290       ./configure --prefix=~ --enable-checking
291       make
292       make install
293 @end example 
294
295 and for the profiling version, I specify a different configuration.
296
297 @example 
298
299       ./configure --prefix=~ --enable-profiling --enable-config=prof --disable-checking
300       make conf=prof
301       make conf=prof install
302
303 @end example 
304
305
306
307
308
309 @section Emacs mode
310
311 An Emacs mode for entering music and running LilyPond is included with
312 the source archive as @file{lilypond-mode.el},
313 @file{lilypond-indent.el} and @file{lilypond-font-lock.el}.  You
314 should install these files somewhere in your @var{load-path}.  If you
315 have installed a precompiled LilyPond package, these files can be
316 found in @file{/usr/share/doc/lilypond-x.y.z/}.
317
318 Add this to your @file{~/.emacs} or @file{~/.emacs.el}, or install this
319 file in Emacs' @file{site-start.d}:
320 @quotation
321 @example
322   ;;; lilypond-init.el --- Startup code for LilyPond mode
323
324   (autoload 'LilyPond-mode "lilypond-mode")
325   (setq auto-mode-alist
326         (cons '("\\.ly$" . LilyPond-mode) auto-mode-alist))
327
328   (add-hook 'LilyPond-mode-hook (lambda () (turn-on-font-lock)))
329 @end example
330 @end quotation
331
332 If you have the latest LilyPond-1.4.x Debian package, LilyPond-mode is
333 automatically loaded, you not even need to modify your @code{~/.emacs}
334 file.
335
336 @section Compiling for distributions 
337
338 @subsection Red Hat Linux
339
340 Red Hat 7.x i386 RPMS are available from
341 @uref{ftp://ftp.cs.uu.nl/pub/GNU/LilyPond/binaries/}.
342
343 You can also compile them yourself.  A spec file is in
344 @file{make/out/lilypond.redhat.spec}. This file is distributed along
345 with the sources.  You can make the rpm by issuing
346 @example 
347
348         tar xfz lilypond-x.y.z.tar.gz
349         rpm -bb lilypond-x.y.z/make/out/lilypond.redhat.spec
350         rpm -i /usr/src/redhat/RPMS/i386/lilypond-x.y.z
351
352 @end example 
353
354 For running on a Red Hat system you need these packages: guile, tetex,
355 tetex-latex, tetex-dvips, libstdc++, python, ghostscript.
356
357 For compilation on a Red Hat system you need these packages, in
358 addition to the those needed for running: glibc-devel, gcc-c++,
359 libstdc++-devel, guile-devel, flex, bison, texinfo, groff, pktrace,
360 netpbm-progs, autotrace, t1utils.
361
362
363
364 @subsection LinuxPPC
365
366
367 Some LinuxPPC RPMS should available from
368 @uref{ftp://ftp.cs.uu.nl/pub/GNU/LilyPond/binaries/}.
369
370 A LinuxPPC RPM can be made using the @file{lilypond.redhat.spec} file.
371
372 @subsection SuSE
373
374 Some SUSE RPMS should available from
375 @uref{ftp://ftp.lilypond.org/pub/LilyPond/binaries/SuSE}.
376
377 You can also compile a RPM for SUSE yourself.  A spec file is in
378 @file{make/out/lilypond.suse.spec}, see the instructions for building
379 the Red Hat RPM.
380
381 You must have the following packages: guile tcsh tetex te_latex te_kpath
382 te_mpost libpng python gpp libgpp gettext autoconf netpbm libnetpb
383 gs_serv gs_lib gs_fonts guile
384
385 @subsection Slackware
386
387 No precompiled packages for Slackware are available.
388
389 Problems have been reported with Slackware 7.0; apparently, it ships
390 with a faulty compiler. Do not compile LilyPond with -O2 on this
391 platform.
392
393 At least on Slackware 8.0, you have to manually specify the paths to the
394 Kpathsea library, using
395 @itemize
396 @item @code{rm config.cache}
397 @item @code{export LDFLAGS=-L/usr/share/texmf/lib}
398 @item @code{export CPPFLAGS=-I/usr/share/texmf/include}
399 @item @code{./configure}
400 @end itemize
401
402
403 @subsection Mandrake
404
405 Some binaries are available at rpmfind.net. Refer to 
406 @uref{http://rpmfind.net/linux/mandrake/cooker/contrib/RPMS/}.
407
408 You can also compile a RPM for Mandrake yourself.  A spec file is in
409 @file{make/out/lilypond.mandrake.spec}, see the instructions for building
410 the Red Hat RPM.
411
412 @subsection Debian GNU/Linux
413
414 A Debian package is also available.  You may install it easily by running
415 @command{apt-get} as root:
416 @example
417
418         apt-get install lilypond lilypond-doc
419 @end example
420
421 You can also compile the .deb for Debian yourself, do:
422 @example
423
424         apt-get -b source lilypond
425 @end example
426
427 If you're real impatient, you may even do:
428 @example
429
430         cd lilypond-x.y.z   # a previous version
431         uscan               # download and build latest directly from upstream
432 @end example
433
434
435 Debian's @TeX{} installation is a bit short on memory, you may want to
436 increase it like this:
437 @example
438 --- texmf.cnf.orig      Sun Dec 16 23:47:07 2001
439 +++ texmf.cnf   Sun Dec 16 23:46:34 2001
440 @@ -411,8 +411,8 @@
441  main_memory.context = 1500000
442  main_memory.mpost = 1000000
443  main_memory = 263000 % words of inimemory available; also applies to inimf&mp
444 -extra_mem_top = 0    % extra high memory for chars, tokens, etc.
445 -extra_mem_bot = 0    % extra low memory for boxes, glue, breakpoints, etc.
446 +extra_mem_top = 1000000    % extra high memory for chars, tokens, etc.
447 +extra_mem_bot = 1000000    % extra low memory for boxes, glue, breakpoints, etc.
448  
449  obj_tab_size.context = 300000
450  
451 @@ -430,7 +430,7 @@
452  % Max number of characters in all strings, including all error messages,
453  % help texts, font names, control sequences.  These values apply to TeX and MP.
454  pool_size.context = 750000
455 -pool_size = 125000             
456 +pool_size = 250000             
457  % Minimum pool space after TeX/MP's own strings; must be at least
458  % 25000 less than pool_size, but doesn't need to be nearly that large.
459  string_vacancies.context = 45000
460 @end example
461
462 You could also export @env{extra_mem_top} and @env{extra_mem_bot} as
463 environment variables if you do not want to or cannot modify
464 @file{/etc/texmf/texmf.cnf}.
465
466 Alternatively, visit
467
468 @itemize @bullet
469 @item @uref{http://packages.debian.org/lilypond,http://packages.debian.org/lilypond}
470 @item @uref{http://people.debian.org/~foka/lilypond/,http://people.debian.org/~foka/lilypond/}
471 for latest semi-unofficial build of LilyPond 1.4.2 for Debian 2.2 (potato) users.
472 The official stable Debian 2.2 is stuck with the old LilyPond-1.3.24.
473 Since LilyPond-1.4 has been released, the older lilypond1.3 Debian
474 package is now obsolete.
475 @end itemize
476
477 Please contact Anthony Fok @email{lilypond@@packages.debian.org} for more
478 information.
479
480 The build scripts are in the subdirectory @file{debian/}; you can
481 make the .deb by doing, for example:
482
483 @example
484         $ su - root
485         # dpkg --purge lilypond lilypond1.3
486         # exit
487         $ tar xzf lilypond-1.4.3.tar.gz
488         $ cd lilypond-1.4.3
489         $ dch -p -v 1.4.3-0.local.1 "Local build."
490         $ debuild -B
491         $ su - root
492         # dpkg -i ../lilypond_1.4.3*.deb
493         # exit
494         $
495 @end example
496
497 Use command @command{debuild} instead of @command{debuild -B} if you have
498 a very fast machine and want to build the HTML, PS and DVI documentation
499 too.
500
501 For compilation on a Debian GNU/Linux system you need these packages,
502 in addition to the those needed for running:
503
504 @itemize @bullet
505 @item g++, cpp, libc6-dev, libstdc++<@var{your-libstdc++-version-here}>-dev
506 @item libguile<@var{your-libguile-version-here}>-dev
507 @item make, m4, flex, bison
508 @item gettext
509 @item groff, texinfo
510 @item tetex-base, tetex-bin, tetex-extra, libkpathsea-dev or tetex-dev
511 @item dpkg-dev, debhelper, fakeroot
512 @item gs, netpbm
513 @item pnmtopng (only in Debian 2.2; pnmtopng has been merged with netpbm
514   in Debian testing/unstable.)
515 @end itemize
516
517 Most of these are listed on the @samp{Build-Depends} line in the
518 @file{debian/control} file.  To ensure the creation of the lilypond deb is
519 trouble-free, we recommend that you first install the following packages
520 by running \@command{apt-get} as root before building the package:
521
522 For Debian 2.2:
523
524 @example
525         apt-get install task-debian-devel task-c++-dev \
526                 python-base libguile6-dev tetex-bin tetex-dev \
527                 tetex-extra flex bison texinfo groff gs \
528                 netpbm pnmtopng m4 gettext
529 @end example
530
531 For Debian in development ("unstable", the future 2.3 or 3.0):
532
533 @example
534         apt-get install binutils cpp gcc libc6-dev \
535                 g++ libstdc++2.10-dev \
536                 python-base libguile-dev tetex-bin libkpathsea-dev \
537                 tetex-extra flex bison texinfo  groff gs \
538                 netpbm m4 gettext
539 @end example
540
541 And, just so that old fonts from previous versions of LilyPond won't
542 interfere with your build, you may want to do this before the build too:
543
544 @example
545         dpkg --purge lilypond lilypond1.3
546 @end example
547
548 @subsection MacOS X
549
550 LilyPond is available through fink, in the unstable cvs distribution.
551
552 You need to:
553 @itemize @bullet
554 @item Get the Fink package manager from @uref{http://fink.sourceforge.net}
555 @item Get the Lilypond package description by enabling the "unstable" tree
556 in fink and executing @command{fink selfupdate-cvs}.
557 @end itemize
558
559 Then do:
560 @quotation
561 @example
562         fink install lilypond-unstable
563 @end example
564 @end quotation
565
566 That's it!  The command should compile and install all LilyPond
567 prerequisites (python, TeX, X11, ghostscript) and then LilyPond
568 itself.
569
570
571 @subsubsection compiling on MacOS X
572 LilyPond has been built on Darwin, to be precise, on:
573 @example
574     Darwin buoux.aspiratie.nl 5.3 Darwin Kernel Version 5.3: Thu Jan 24
575     22:06:02 PST 2002; root:xnu/xnu-201.19.obj~1/RELEASE_PPC  Power Macintosh powerpc
576 @end example
577
578 using:   
579
580 @example
581     Apple Computer, Inc. version gcc-932.1, based on gcc version 2.95.2 19991024 (release)
582 @end example
583
584 To make sure you have all packages needed to build LilyPond installed,
585 run as root:
586
587 @example
588         apt-get install bash python guile debianutils flex bison texinfo \
589                 ghostscript6 netpbm m4 gettext
590 @end example        
591
592 and:
593                 
594 @example
595         fink install tetex
596 @end example        
597
598 For more information about @file{apt-get} and @file{fink}, see
599 @uref{http://fink.sf.net,fink.sourceforge.net}.
600
601 @c  brokenness of autoconf; don't ask
602 Then, configure, patch, make and install LilyPond using these commands:
603
604 @example
605         CC="cc -I/sw/include" CXX="c++ -I/sw/include" LDFLAGS="-L/sw/lib" \
606             ./configure --prefix=/sw
607         make -C lily out/parser.hh out/parser.cc out/config.h
608         patch -p0 < darwin.patch
609         make -C lily out/parser.o
610         make DEPENDENCIES_OUTPUT=/dev/null all
611         make install
612 @end example
613
614 For installing, you must be root, of course.
615
616 @c Why isn't this in BUGS (where it belongs?)
617 @section Problems
618
619 For help and questions use @email{lilypond-user@@gnu.org}.  Please
620 consult the FAQ before mailing your problems.  If you find bugs, please
621 send bug reports to @email{bug-lilypond@@gnu.org}.
622
623 Bugs that are not fault of LilyPond are documented here.
624
625 @unnumberedsubsec FLex-2.5.4a and gcc-3.0
626
627 Flex 2.5.4a does not produce g++-3.0 compliant C++ code.  To compile
628 LilyPond with gcc-3.0 you may do:
629
630 @example
631         CC=gcc-3.0 CXX=g++-3.0 ./configure --enable-config=gcc-3.0
632         make conf=gcc-3.0 -C lily out-gcc-3.0/lexer.cc
633         patch -p1 < lexer-gcc-3.0.patch
634         make conf=gcc-3.0 -C lily
635 @end example
636
637 Note that this is fixed in Debian/unstable for flex >= 2.5.4a-13.
638
639 @unnumberedsubsec Linux-2.4.0, Guile-1.4 --with-threads
640
641 There's a bug in certain kernels around version 2.4.0, that is
642 triggered when using Guile 1.4 compiled with pthreads.  You'll see
643 random segmentation fault crashes of LilyPond.  Upgrade to a newer
644 version of Linux.  If you can't do that, you may try to recompiling
645 Guile without threads (YMMV):
646
647 @example
648          guile-1.4$ ./configure --without-threads; make all install
649 @end example
650
651
652 @unnumberedsubsec NetBSD
653
654 @itemize @bullet
655 @item The flex precompiled in NetBSD-1.4.2 is broken.
656 Download flex-2.5.4a, build, install.
657
658 @item The configuration of Gcc (egcs-2.91.60 19981201 (egcs-1.1.1
659 release)) does not include @file{/usr/pkg} paths.  Configure using:
660 @example
661
662 CFLAGS='-I /usr/pkg/include' LDFLAGS='-L/usr/pkg/lib' ./configure
663
664 @end example
665
666 @end itemize
667
668 @unnumberedsubsec  Solaris:
669
670 @itemize @bullet
671 @item Sparc64/Solaris 2.6, GNU make-3.77
672
673 GNU make-3.77 is buggy on this platform, upgrade to 3.78.1 or newer.
674
675 @item Sparc64/Solaris 2.6, ld
676
677 Not yet resolved.
678 @end itemize
679
680
681 @unnumberedsubsec   AIX
682
683 @itemize @bullet
684 @item AIX 4.3 ld
685
686 The following is from the gcc install/SPECIFIC file.
687 @quotation
688    Some versions of the AIX binder (linker) can fail with a relocation
689    overflow severe error when the -bbigtoc option is used to link
690    GCC-produced object files into an executable that overflows the TOC.
691    A fix for APAR IX75823 (OVERFLOW DURING LINK WHEN USING GCC AND  
692    -BBIGTOC) is available from IBM Customer Support and from its
693    27service.boulder.ibm.com website as PTF U455193.   
694
695    Binutils does not support AIX 4.3 (at least through release 2.9). GNU
696    as and GNU ld will not work properly and one should not configure GCC
697    to use those GNU utilities. Use the native AIX tools which do
698    interoperate with GCC.
699 @end quotation
700
701 add -Wl,-bbigtoc to USER_LDFLAGS, ie:
702 @example
703     LDFLAGS='-Wl,-bbigtoc' ./configure
704 @end example
705
706 @end itemize
707
708
709 @bye
710