Bug 17726 - g77 libraries installed in wrong directory
Summary: g77 libraries installed in wrong directory
Status: RESOLVED DUPLICATE of bug 17725
Alias: None
Product: gcc
Classification: Unclassified
Component: libf2c (show other bugs)
Version: 3.4.2
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-29 15:25 UTC by Peter Breitenlohner
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host: i686-pc-linux-gnu
Target: i686-pc-linux-gnu
Build: i686-pc-linux-gnu
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Breitenlohner 2004-09-29 15:25:38 UTC
When configuring with `--enable-version-specific-runtime-libs' (and
--prefix=/usr) the g77 libraries libfrtbegin.a and libg2c.* are installed
in /usr/lib/gcc/<target>/ instead of /usr/lib/gcc/<target>/3.4.2/ and
consequently are not found by collect2.

A short time ago I had sent this report using by mistake gccbug from V3.3.3.
It got the ID 17725; please remove that one.

Environment:
System: Linux pcl321 2.4.25 #2 SMP Thu Apr 1 13:55:52 CEST 2004 i686 unknown unknown GNU/Linux
Architecture: i686


host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc-3.4.2/configure --host=ix86-linux-gnulibc2 --prefix=/usr --disable-nls --enable-shared --enable-languages=c++,f77,objc --enable-version-specific-runtime-libs --with-gxx-include-dir=/include/c++/3.4.2 --bindir=/ix86-linux-gnulibc2/bin

How-To-Repeat:
Configure with `--enable-version-specific-runtime-libs'
Comment 1 Peter Breitenlohner 2004-09-29 15:25:38 UTC
Fix:
Workaraound: move the installed libraries into the subdir 3.4.2/
Fix: correct the Makefile.

regards
Peter Breitenlohner <peb@mppmu.mpg.de>
Comment 2 Andrew Pinski 2004-09-29 15:41:25 UTC

*** This bug has been marked as a duplicate of 17725 ***