I had to apply the attached patches in order to get lilypond 0.1.55 to 
build with egcs 1.0.2 on the following platforms:

sparc-sun-solaris2.[56]
RedHat Linux 5.0 /x86 and /alpha
RedHat Linux 4.0 /x86
mips-sgi-irix6.3

The first patch ensures that the `test' program is not installed; it
would overwrite `test' installed by GNU sh-utils, and this is no
good.

If I hadn't applied the patches for template?.cc, several
cursor-related template functions would not be instantiated.

The remaining patches rename quad to quadr, because, on SunOS 4.1.3,
quad is a typename.

Another issue: the configure script will always warn me that it can't
find g++ 2.7 or 2.8.  Perhaps the test could be extended so that it
would accept egcs too:

if $CXX --version | grep '2\.[78]' > /dev/null ||
   $CXX --version | grep 'egcs' >/dev/null


I could not build lilypond on sparc-sun-sunos4.1.3 and
mips-sgi-irix5.2.  I'm pretty sure it has something to do with these
platforms not supporting ELF object files; I remember having read
something about template instantiation problems when weak symbols are
not available.  Anyway, since lilypond is doing explicit template
instantiation, it may be just a matter of explicitly instantiating the
missing symbols at the right points.  So I attached the short output
of IRIX 5.2's linker, as well as the large (gzipped) output of GNU ld
running on SunOS 4.1.3.

Hope this helps.

-- 
Alexandre Oliva
mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil

.patch-lilypond-0.1.55

Reply via email to