[comp.os.mach] Problems with prof and script

somesh@wpi.wpi.edu (Somesh Rao) (06/04/90)

We have been working on a project for the Open Software Foundation
(OSF) on Mach. I have been having a few problems with mach 2.5 on a HP
RS/25C Model 304e and I hope that someone will be able to figure out
the problems. 

1) I cannot get any program to compile with the -p option ( for
profile). I have checked and seen that libc_p.a exists.

2) I cannot get script to work. It dumps core every time.

I have included an edited version of a script file for both these
problems. ( I did this script on another machine and rlogin'ed from there)

Thanks in anticipation.
Somesh Rao

somesh@maxine.wpi.edu
somesh@wpi.wpi.edu



Script started on Sun Jun  3 12:49:07 1990
.
.
.
proton:/usr1/somesh/code: cc -0   o sieve.new.c   sieve.new.c
proton:/usr1/somesh/code: sieve.new

Time taken for execution:          Time per iteration
   (in Milliseconds)               or call (millisec)
        5700                           5.700

proton:/usr1/somesh/code: cc -p -o sieve.new  sieve.new.c
proton:/usr1/somesh/code: sieve.new
Segmentation fault (core dumped)
.
.
.
proton:/usr1/somesh/code: script
Bus error (core dumped)