[gnu.emacs.bug] emacs, gcc, & Sun 3

gwp@DIDO.CALTECH.EDU (Mac Pigman) (04/30/89)

This is not a bug with emacs, but I thought you should know about the problem
and didn't know where else to send the message.

I just compiled version 18.54 of emacs using gcc (version 1.34) on a
Sun 3 without the 68881 running Sunos 4.0.1. Everything compiled
without hitch, but when ld tried to link temacs, it complained
about these undefined symbols:

___floatsidf
___fixdfsi
___divdf3
___muldf3

Once I made a symbolic link from /usr/local/lib/gcc-gnulib to
/usr/local/libgnu.a and added "-lgnu" to LIBES in src/ymakefile, ld
linked temacs, and everything seems to be just fine.  There's
probably a better way to solve the problem (I'd be curious to know
what it is), since I don't know much about gcc.

I suspect that I ran into this problem because my Sun3 doesn't have
the floating point chip, for I had no problems with gcc on our Sun 4.

-Mac Pigman
gwp@dido.caltech.edu