Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!ceres.physics.uiowa.edu!news.iastate.edu!IASTATE.EDU!keinert From: keinert@IASTATE.EDU (Keinert Fritz) Newsgroups: comp.unix.ultrix Subject: Keywords: math-libraries cc ld f77 Message-ID: <1990Dec10.082206@IASTATE.EDU> Date: 10 Dec 90 14:40:18 GMT Sender: news@news.iastate.edu (USENET News System) Lines: 24 Subject:Re: cc, ld -- math libraries on RISC ULTRIX Reply-To: keinert@IASTATE.EDU (Keinert Fritz) Organization: Iowa State University Followup-To:<1990Dec9.210422.16744@ux1.cso.uiuc.edu> Date: Mon Dec 10 14:22:06 1990 GMT In a previous posting, sudha@cs.uiuc.edu (Sudhakar Yerramareddy) asks > I am trying to call a fortran subroutine from a C program. I tried this > on the DS3100 and DS5000 running ULTRIX 4.0. I tried this, too, and the only way I can get it to work is with cc ... -lF77 -lI77 -lU77 -lm -lF77 libF77.a needs to be searched twice, the second time only for a symbol _sabort. Fritz Keinert phone: (515) 294-5128 Department of Mathematics fax: (515) 294-5454 Iowa State University e-mail: keinert@iastate.edu Ames, IA 50011