Path: utzoo!utgpu!watserv1!watmath!att!occrsh!uokmax!apple!usc!zaphod.mps.ohio-state.edu!think!husc6!m2c!wpi!somesh From: somesh@wpi.wpi.edu (Somesh Rao) Newsgroups: comp.os.mach Subject: Problems with prof and script Keywords: cc mach prof Message-ID: <13224@wpi.wpi.edu> Date: 3 Jun 90 18:13:06 GMT Organization: Worcester Polytechnic Institute, Worcester, Mass. Lines: 40 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)