[NBLUG/talk] GCC: Compiling older apps with latest version

Dave Sisley dsisley at sonic.net
Sat Jan 28 16:48:06 PST 2006


Scott Doty wrote:

>I'm use FC4 for all my personal systems.  FC4 comes with "gcc32", which
>isn't a comment on the width of its ints, but rather:  it's gcc 3.2.3.
>
>_[/home/scott]_(scott at tsk)_
>$ cat /etc/fedora-release 
>Fedora Core release 4 (Stentz)
>_[/home/scott]_(scott at tsk)_
>$ gcc32 -v
>Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
>Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
>--infodir=/usr/share/info --enable-shared --enable-threads=posix
>--disable-checking --with-system-zlib --enable-__cxa_atexit
>--enable-languages=c,c++,f77 --disable-libgcj --host=i386-redhat-linux
>Thread model: posix
>gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47.fc4)
>
>So you should be able to type "export CC=gcc32" (in bash), then run
>./configure ...
>
>  
>
Thanks so much, Scott - that did the trick.  It took me a while to 
figure out how to install it (my FC4 install did NOT have it...).  I 
just poked around on google until I realized the package name is 
'compat-gcc-32'. 

Then, as you said - it's 'export CC=gcc32' and then ./configure, make 
and make install.
I found this page with some altenate ways of using it:
http://fedoranews.org/mediawiki/index.php/Caveats_and_Known_Bugs_on_FC4

Thanks again!
-dave.

-- 
Dave Sisley
dsisley at sonic.net
roth-sisley.net




More information about the talk mailing list