Opened 21 years ago

Closed 21 years ago

Last modified 10 years ago

#238 closed defect (fixed)

gcc-2.95.3 (gcc2libs)

Reported by: tushar@… Owned by: tushar@…
Priority: low Milestone:
Component: BOOK Version: ~CVS
Severity: minor Keywords:
Cc:

Description

Since many commercial and precompiled packages depend on gcc2 libs, and the question is asked n number of times on the lists, it would be better if the book included a section on installation of gcc2 libs. I use the following that compiles the complete gcc-2.95.3 and then copies the libs, but there may be a shorter way to do it (never bothered to research it since it is only done once):

../gcc-2.95.3/configure --prefix=/var/tmp/gcc --enable-shared \

--enable-languages=c++ --enable-threads=posix &&

make && make install && mv /var/tmp/gcc/lib/*.so* /usr/lib && ln -sf libstdc++-libc6.3-2.so.3 /usr/lib/libstdc++-libc6.1-1.so.2 && ln -sf libstdc++-libc6.3-2.so.3 /usr/lib/libstdc++-libc6.2-2.so.3 && ldconfig

Another option is to install it in a different directory e.g. /usr/lib/gcc2-compat/ and ask the users to add the directory to LD_LIBRARY_PATH for apps that need gcc2 libs.

Change History (8)

comment:1 by tushar@…, 21 years ago

Status: newassigned

comment:2 by tushar@…, 21 years ago

Resolution: fixed
Status: assignedclosed

comment:3 by tushar@…, 21 years ago

Summary: Add installation of gcc2 libsgcc-2.95.3 (gcc2libs)

comment:4 by tushar@…, 21 years ago

Resolution: fixed
Status: closedreopened

Sync with gcc2 installation in LFS.

comment:5 by tushar@…, 21 years ago

Status: reopenedassigned

comment:6 by tushar@…, 21 years ago

Owner: changed from blfs-book@… to tushar@…
Status: assignednew

comment:7 by tushar@…, 21 years ago

Resolution: fixed
Status: newclosed

comment:8 by bdubbs@…, 10 years ago

Milestone: old

Milestone old deleted

Note: See TracTickets for help on using tickets.