xkernel/GNU/gcc/what-a-mess

2007-12-25 7:33:00

Dear Sun-Managers:

Thanks for the many replies (only one mild flame). As usual, the list came

through again!

My original message:

>-------------------------------------------------------------------------------

>Dear Sun-Managers:

>

>I need your help. I've been asked to get our old Sun-3 machines up and running

>as X Terminals, and heard that the Public Domain program called "xkernel" was

>the way to go.

>

>So, I pulled Version 3.1 over from "optima.cs.arizona.edu" and unpacked it.

>The installation instructions say that I need the GNU versions of "gcc" and

>"make" to make "xkernel".

>

>So, I pulled Version 1.37.1 of "gcc" from "shorty.cs.wisc.edu" and unpacked it.

>Now I'm trying to get "gcc" going, and it won't "make". Here's what I get:

>

>prompt# cd /usr/local/src/gcc/gcc

>prompt# config.gcc sun3-os4

>Linked `config.h' to `./config/xm-m68k.h'.

>Linked `tm.h' to `./config/tm-sun3.h'.

>Linked `md' to `./config/m68k.md'.

>Linked `aux-output.c' to `./config/out-m68k.c'.

>Links are now set up for use with a sun3-os4.

>prompt# make

>cc -g -DUW -DXC -I. -I. -I./config \

> -DSTANDARD_STARTFILE_PREFIX=\"/usr/misc/ipsc/XC/lib/\" \

> -DSTANDARD_EXEC_PREFIX=\"/usr/misc/ipsc/XC/lib/gcc-\" -c \

> `echo ./gcc.c | sed 's,^\./,,'`

>cc -c -g -DUW -DXC -I. -I. -I./config version.c

>cc -c -g -DUW -DXC -I. -I. -I./config obstack.c

>cc -g -DUW -DXC -o gccnew gcc.o version.o obstack.o

>ld: Undefined symbol

> _alloca

>*** Error code 2

>make: Fatal error: Command failed for target `gcc'

>

>This leads to two questions:

>

> 1) Is "xkernel" indeed the best way to go? Is there something else that's

> better and/or easier to setup and use?

>

> 2) If "xkernel" is the way to go, is there some kind GNU expert out there

> who will take pity on me and tell me how to get "gcc" up and running?

> Why do I have the "/usr/misc/ipsc/XC/lib/" stuff in there? What's up

> with "_alloca"? Help!

>

>I'm doing these operations on my SPARCstation 1+, running SunOS 4.1.1. The

>Sun-3 machines that I'm trying to get running as X Terminals are 3/60's and

>3/110's, all running SunOS 4.0.3.

>-------------------------------------------------------------------------------

As it turns out, the main problem is that there are two different "Public Domain"

programs with the same name. Peter Kaldis (peter@Civil.Concordia.CA) summed it

up best:

> ... the basic error you've made with

>mixing up the public domain protocol development and research xkernel

>from cs.arizona.edu and the xkernel hack written by Seth Robertson to turn

>3/50s into xterminals.

Yes, I had FTP-ed over "xkernel" from "optima.cs.arizona.edu", but what I really

wanted was "Xkernel" (note the "X" vs. "x") from "sol.ctr.columbia.edu". The

"Xkernel" package is much easier to install than "xkernel", and it doesn't need

"gcc".

That brings me to the other portion of my original message: "gcc". Many people

offered suggestions on how to get it going, and a lot of people pointed out that

Version 1.37.1 is not the latest. The current version appears to be 1.40 from

"prep.ai.mit.edu". I didn't bother getting this, since I don't need it.

So, I'm in the process of trying to get "Xkernel" Version 1.4 working, but that's

another story. I might contact some of you individually with specific questions,

now that I have your E-Mail addresses. ;-)

Many thanks to the following people for their help:

Jim ? uunet!alexander.bbn.com!jjd

Brent Alan Wiese uunet!crick.ssctr.bcm.tmc.edu!brent

John Hasley uunet!andy.bgsu.edu!hasley

Keith White uunet!csi.UOttawa.CA!kwhite

Tasuki Hirata uunet!eng.umd.edu!sukes

Peter Kaldis uunet!Civil.Concordia.CA!peter

Bruce Oneel uunet!heasfs.gsfc.nasa.gov!oneel

Seth Robertson uunet!ctr.columbia.edu!seth

William R. Palenske uunet!fed!m1wrp99

Ian Johnson CMIM uunet!dollar.bf.rmit.OZ.AU!icj

Russ Button uunet!alc.com!button

Kennedy Lemke uunet!MITL.COM!lemke

Gregory Higgins uunet!math.niu.edu!higgins

Edward Vielmetti uunet!ox.com!emv

Patrick Lynn Shopbell uunet!pegasus.rice.edu!pls

Hal Pomeranz uunet!isis.dccs.upenn.edu!pomeranz

Brian Field uunet!cs.pitt.edu!field

Jim Mattson uunet!cs.UCSD.EDU!mattson

Michael Maciolek uunet!juliet.ll.mit.edu!mikem

Martin A. Leisner uunet!xerox.com!leisner.henr801c

Andrew Luebker uunet!eye.psych.umn.edu!aahvdl

Oran Davis uunet!spg.amdahl.com!oran

Loki Jorgenson uunet!nazgul.physics.mcgill.ca!loki

Axel Eble uunet!IMBI.Uni-Freiburg.DE!Axel.Eble

Evan Foster uunet!cs.clemson.edu!evan

Daniel Trinkle uunet!cs.purdue.edu!trinkle

Paul A. Scowen uunet!spacsun.rice.edu!uk1

Sheryl Coppenger uunet!seas.gwu.edu!sheryl

Ted Nolan SRI Ft Bragg uunet!usasoc.soc.mil!ted

Mike Willett uunet!array.array.com!mike

Simon Leinen uunet!liasun6.epfl.ch!simon

Elizabeth Lo uunet!fai.fai.com!elo

Scott Ballantyne uunet!hotmomma!sdb

   Drew

 +----+ +----+ +------------------------------+----------------------------+

 | \GO/ | | Drew Montag | djm@bioimage.millipore.com |

 ++ + \/ + ++ | Sr. Software Design Engineer | uunet!millidc!bioimage!djm |

  | |\ /| | | Bio Image Products | (800) 872-0071 (Toll Free) |

  | | \ / | | | 777 East Eisenhower Parkway | (313) 930-9900 (Voice) |

  | | \/ | | | Suite 950 | (313) 930-0990 (FAX) |

 ++ ++ ++ ++ | Ann Arbor, Michigan +----------------------------+

 | |BLUE| | | U.S.A. 48108-3258 | Are we having fun yet? |

 +----+ +----+ +------------------------------+----------------------------+

Comments

Got something to say?

You must be logged in to post a comment.