Thread View: gnu.epoch.misc
2 messages
2 total messages
Started by Chris_Esposito
Fri, 11 Sep 1992 15:43
epoch 4.2 build problem - `__builtin_saveregs'?
Author: Chris_Esposito
Date: Fri, 11 Sep 1992 15:43
Date: Fri, 11 Sep 1992 15:43
23 lines
1858 bytes
1858 bytes
I have a problem in building epoch 4.2 on a Sparc2, OS 4.1.2, with gcc -O -g -traditional. Everything (jncluding xpm support) compiles fine until the final attempt to link everything into temacs, and then ... ld -e __start -Bstatic -L/usr/openwin/lib -L/usr/local/lib -o temacs crt0.o window.o term.o x11term.o x11fns.o xevent.o screen.o xdefault.o xresource.o property.o selection.o xutil.o mouse.o button.o xdispepoch.o dispepoch.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o fns.o print.o lread.o abbrev.o syntax.o unexec.o mockl isp.o bytecode.o process.o callproc.o environ.o doprnt.o lastfile.o malloc.o -lX11 -lXpm -lg -lc Undefined ___builtin_saveregs <-- **DOES anyone know what this is, or where to get it? *** Error code 2 make: Fatal error: Command failed for target `temacs' Current working directory /a/grace/local/share.sunos.4.1.2/src/epoch4.2/src *** Error code 1 make: Fatal error: Command failed for target `doall' Exit 1 Thanks, Chris Q: Why did the cybernaut cross the road? A: He was jacked into the chicken ------------------------------------------------------------------------------- Chris Esposito (206) 865-3162 | Internet: chrise@atc.boeing.com Boeing Research & Technology, Comp. Sci. | uucp: ...!uw-june!bcsaic!chrise
Re: epoch 4.2 build problem - `__builtin_saveregs'?
Author: Mr. A.D. McGregor
Date: Sun, 13 Sep 1992 21:15
Date: Sun, 13 Sep 1992 21:15
39 lines
2430 bytes
2430 bytes
In article <82589@bcsaic.boeing.com>, chrise@atc.boeing.com (Chris_Esposito) writes: > I have a problem in building epoch 4.2 on a Sparc2, OS 4.1.2, with > gcc -O -g -traditional. Everything (jncluding xpm support) compiles > fine until the final attempt to link everything into temacs, and then ... > > ld -e __start -Bstatic -L/usr/openwin/lib -L/usr/local/lib -o temacs crt0.o window.o term.o x11term.o x11fns.o xevent.o screen.o xdefault.o xresource.o property.o selection.o xutil.o mouse.o button.o xdispepoch.o dispepoch.o emacs.o keyboard.o macros.o> keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o fns.o print.o lread.o abbrev.o syntax.o unexec.o mock> lisp.o bytecode.o process.o callproc.o environ.o doprnt.o lastfile.o malloc.o -lX11 -lXpm -lg -lc > Undefined > ___builtin_saveregs <-- **DOES anyone know what this is, or where to get it? > *** Error code 2 > make: Fatal error: Command failed for target `temacs' > Current working directory /a/grace/local/share.sunos.4.1.2/src/epoch4.2/src > *** Error code 1 > make: Fatal error: Command failed for target `doall' > Exit 1 > > Thanks, > Chris Someone else postard with a similar problem. Mine built OK with gcc 2.2.2 once I fiddled with the switches in ld: ld -e __start -Bstatic -L/usr/local/X11/lib -o <lots of objects> -lX11 -lg -L/usr/local/phys/lib/gcc-lib/sun4/2.2.2 -lgcc -lc given that the gcc libraries are pointed to by that path. You must have -lgcc BEFORE -lc with this compiler. By the way, does anybody know why I had to point ld at that directory? the docs for gcc say that one shouldn't have to. Hope this helps, Andrew McGregor Physics, University of Canterbury, Christchurch, New Zealand.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads