How to compile cilink in Sparc2?

Heikki Lehvaslaiho Heikki.Lehvaslaiho at Helsinki.FI
Tue Jun 9 06:48:09 EST 1992

In article <1992Jun5.082205.4271 at klaava.Helsinki.FI>, Heikki.Lehvaslaiho at Helsinki.FI (Heikki Lehvaslaiho) writes:

> I have picked up the linkage packet from and
> the programs seem to run fine in our Sparc2 (SunOS 4.1.2). 
> However, I need to change some constants. What pc options 
> should I use when compiling? 
> I have heard that many European groups have recently purchased 
> Sun SparcStations, so there must be good and simple solutions 
> for this problem.

The solution is simple enough: The default settings compile cilink as:

pc -L -w -O -o ../bin/cilink ./cilink.p

When I lowered the optimization level from -0(2) down to -O1, cilink compiles
and runs fine:

pc -L -w -O1 -o ../bin/cilink ./cilink.p  

My thanks to John Attwood and Peter Woollard for their help.


Heikki Lehv
slaiho  <Heikki.Lehvaslaiho at Helsinki.FI>
Meilahti Medical Departments, University of Helsinki
Haartmaninkatu 3, SF-00290 Helsinki, FINLAND
Phone: +358-0-434 6408         FAX: +358-0-434 6491

More information about the Gen-link mailing list