From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: Date: 26 Nov 1997 13:05:39 +0200 From: Harvey J. Stein Subject: Re: Redhat 5.0 - The *real* questions. R J Hill-Cottingham writes: > Harvey J. Stein writes: > > > "M. Nicklaus" writes: > > > > > Roger Hill-Cottingham wrote: > > > > > > > > > > > If you just compile f2c from the sources at netlib, it will work. > > > > > > > > OK, just done that, and it is fine for little things, but large code > > > > I get millions of > > > > > > > > relocation truncated to fit: LITERAL > > > > > > > > (seems like one for every assignment). Do I have to fix something in > > > > f2c/src before making it (like definitions of integer in f2c.h)? > > > > Well, you don't just download and compile. You have to also follow > > the included directions. In particular, yes, you have to edit f2c.h > > as per the README. > > I looked again and found the instructions, not in > netlib/f2c/src/README, but in netlib/f2c/readme. Thanks for the > pointer. I also remade libF77 and libI77, but still get millions of > 'relocation truncated to fit: LITERAL' during the link phase. I think > I will give up at this point and wait for RH5.0 on 1st. December. Don't make libF77 & libI77. Use libf2c.zip & just make libf2c.a & libf2c.so. Did you use: CFLAGS = -O2 -DNON_UNIX_STDIO -DIEEE_drem -DWANT_LEAD_0 -DAllow_TYQUAD Only the -DNON_UNIX_STDIO is necessary. The -DIEEE_drem might help efficiency sometimes, and the last two are purely options. You're doing this under RH4.2? You might try getting the RH5.0 source rpm for f2c, and building from that. It includes a newer version of f2c. You won't be able to install the RH5.0 binary package (since it's compiled against very different libraries), but you should be able to build the source rpm (assuming that RPM hasn't changed too much). I can also email you f2c.h, f2c.1, f2c & libf2c.a, if you'd like. -- Harvey J. Stein Berger Financial Research hjstein@bfr.co.il -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com