Pat's "how to make the Slackware egcs package" notes.
To make the Slackware package, untar egcs source, configure and build
as in egcs.configure and egcs.make. Then, we add these items to what's
installed with a "make install", and package it up with "makepkg".
1. add /usr/bin/cpp:
#!/bin/bash -
for i in /usr/lib/gcc-lib/i*86*linux*/*/cpp; do
exec "$i" "$@"
done
2. add /lib/cpp -> /usr/bin/cpp link.
3. Add links in /usr/bin:
lrwxrwxrwx c++ -> g++
lrwxrwxrwx cc -> gcc
lrwxrwxrwx f77 -> g77
lrwxrwxrwx i386-pc-linux-gnulibc1-gcc -> gcc
4. mv /usr/i386-pc-linux-gnulibc1 to /usr/ix86-linux.
5. add i386-pc-linux-gnulibc1 -> ix86-linux link in /usr.
6. mv /usr/local/include/f2c.h to /usr/include/f2c.h. rmdir empty /usr/local.
10. That's about it... now add any additional documentation needed in
/usr/doc, and then package it up with makepkg, or split into
C/C++/Obj-C/F77 packages and package those up with makepkg.
11. ...Oh yeah, one more thing. Netscape was linked against an obsolete
libg++, but these links seem to make Netscape happy: