multilibbing libf2c

Robert Lipe
Tue Sep 8 13:05:00 GMT 1998

Jeff> Yup.  It's actually not that bad.

Dave> Robert Lipe concluded otherwise, so I'd put the task aside...

Jeff> Similarly until last night :-)  The chill runtime is pretty simple,
Jeff> so I figured it was a good hunk of code to try and multilib.

Dave, don't give me too much credit.  Just becuase I couldn't get
through the exercise didn't mean it was impossible or even hard for the
right people. :-)

I poked on it a little more last night with Jeff's tips in hand.
Whether the example is clearer, libf2c is clearer (I think I recall *.in
being uglier when I last looked at it), or I'm finally Getting It, I
think that success is largely within reach.

Right now, I have to manually go do the "ar tv ../libf2c.a" in the
multilibbed directories and had to beat g77.exp with the multilib stick
a few times, but for the first time ever, I saw
   make check-g77 RUNTESTFLAGS="--target_board 'unix{-mcoff,-melf,-fPIC}'"
substantially work.

When I get things less ugly, I'll start sharing patches with a wide
audience.  Anyone interested in helping with them is, of course, welcome
to them now.

More information about the Gcc mailing list