Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* An ordinary day of an Alpha OSF/1 user...
@ 1993-05-17 21:57 Didier Wagenknecht
  1993-05-17 20:34 ` Mark Charette
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Didier Wagenknecht @ 1993-05-17 21:57 UTC (permalink / raw)



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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1993-05-19 16:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-05-17 21:57 An ordinary day of an Alpha OSF/1 user Didier Wagenknecht
1993-05-17 20:34 ` Mark Charette
1993-05-18 22:10   ` Didier Wagenknecht
1993-05-18  8:43 ` James Bonfield
1993-05-19 16:32   ` Burkhard Neidecker-Lutz
1993-05-18 12:28 ` Marc Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox