Bug 234143

Summary: g{cc,++}32 fails to find libg2c
Product: Red Hat Enterprise Linux 4 Reporter: Kostas Georgiou <k.georgiou>
Component: compat-gcc-32Assignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.4   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-27 14:55:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kostas Georgiou 2007-03-27 14:03:44 UTC
gcc32 -o foo ... -lg2c fails since compat-gcc-32 doesn't provide libg2c.so

I am not sure what is the best solution here (sadly forcing the users to get
their act together and moving to something recent isn't an option), providing
compat-g77-32 with the full(?) g77 stack is one option and the other is to use
the existing /usr/lib/libg2c.so.0 assuming libg2c hasn't changed at all.

The users are only interested in linking from gcc-32 with libg2c and not a
g77-32 so compat-libf2c is probably an option.

Comment 1 Jakub Jelinek 2007-03-27 14:55:28 UTC
So compile C code with gcc32, Fortran code with g77 and link using
gcc or g77 rather than gcc32.
Adding g77 compatibility stuff is an overkill.