From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,f944c06c54252100,start X-Google-Attributes: gidfee84,public X-Google-Thread: f678f,f944c06c54252100,start X-Google-Attributes: gidf678f,public X-Google-Thread: 1164f8,f944c06c54252100,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-05-17 09:32:38 PST Xref: gmd.de comp.unix.osf.misc:238 comp.unix.osf.osf1:396 comp.sys.dec:7699 Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!cs.utexas.edu!utnut!torn!nott!bnrgate!bnr.co.uk!uknet!mcsun!hp4at!news.univie.ac.at!scsing.switch.ch!epflnews!disuns2.epfl.ch!disuns2!wagen From: wagen@slalpha1.epfl.ch (Didier Wagenknecht) Newsgroups: comp.unix.osf.misc,comp.unix.osf.osf1,comp.sys.dec Subject: An ordinary day of an Alpha OSF/1 user... Date: 17 May 93 17:57:33 Organization: Ecole Polytechnique Federale de Lausanne Distribution: world Message-ID: NNTP-Posting-Host: slalpha1.epfl.ch Has someone already tried to compile on Alpha plateform some C code ? Example: . . . cc -j -I. -O4 -Olimit 2000 -D_BSD tc.str.c cc -j -I. -O4 -Olimit 2000 -D_BSD tc.vers.c cc -j -I. -O4 -Olimit 2000 -D_BSD tc.who.c rm -f tcsh core cc -o tcsh -I. -O4 -Olimit 2000 sh.u sh.dir.u sh.dol.u sh.err.u sh.exec.u sh.char.u sh.exp.u sh.func.u sh.glob.u sh.hist.u sh.init.u sh.lex.u sh.misc.u sh.parse.u sh.print.u sh.proc.u sh.sem.u sh.set.u sh.time.u glob.u mi.termios.u ma.setp.u vms.termcap.u tw.help.u tw.init.u tw.parse.u tw.spell.u tw.comp.u ed.chared.u ed.refresh.u ed.screen.u ed.init.u ed.inputl.u ed.defns.u ed.xmap.u ed.term.u tc.alloc.u tc.bind.u tc.const.u tc.disc.u tc.func.u tc.os.u tc.printf.u tc.prompt.u tc.sched.u tc.sig.u tc.str.u tc.vers.u tc.who.u -ltermcap Fatal error in: /usr/lib/cmplrs/cc/uld Segmentation fault - core dumped *** Exit 11 Well. I'll compile another day. Let's try to compile some X11 progs: X11> make Makefile -f Makefile.ini cd ./config; make -f Makefile.ini BOOTSTRAPCFLAGS="" making imake with BOOTSTRAPCFLAGS= cc -o ccimake -O2 -I../include ccimake.c cc -c -O2 -I../include `./ccimake` imake.c cc -o imake imake.o rm -f Makefile.bak; mv Makefile Makefile.bak mv: Makefile: No such file or directory *** Exit 1 (ignored) ./config/imake -I./config -DTOPDIR=. -DCURDIR=. cpp: ERROR MESSAGE 4ERROR MESSAGE 80 cpp: ERROR MESSAGE 4ERROR MESSAGE 80 ---- Ok, let's look at the Man Pages: ERRORS The error messages produced by cpp are intended to be self-explanatory. The line number and filename where the error occurred are printed along with the diagnostic. Well, now I know that ERROR MESSAGE 4 occured with ERROR MESSAGE 80 in somewhere. Let's try it with another cpp: X11> setenv IMAKECPP /usr/bin/cpp89 X11> ./imake -DNEWTOP=../ The program "pncc" can not be found or executed. Oh. I'm sorry. Well, I'll use gcc's cpp: X11> setenv IMAKECPP /usr/local/bin/cppstdin X11> ./imake -DNEWTOP=../ ./imake: Exec format error: Cannot exec /usr/local/bin/cppstdin. Stop. Ok, ok, cppstdin is a script. Excuse me, imake. Well, can someone explain me 1) Why can't I compile AND link with O4 without core dump ? 2) What is ERROR MESSAGE 4 & 80 ? 3) Why the program "pncc" can not be found or executed ? -- D. Wagenknecht Responsable securisation informatique, ADM-SIC, EPFL e-mail:wagen@sic.epfl.ch