This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Compiling 10 year old code
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: "H.S.Rai" <hardeep dot rai at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Sun, 3 Apr 2011 13:17:51 +0100
- Subject: Re: Compiling 10 year old code
- References: <BANLkTi=sUOc+b1KU_LBbcxcck+wBa628XQ@mail.gmail.com>
On 3 April 2011 06:55, H.S.Rai wrote:
> There are certain good old packages, which I want to use now (like
> http://felt.sourceforge.net/ ). When I compile, it throws many errors.
>
> Is there any option / switch which I can use with latest compiler to
> request compiler to understand old code, as I believe installing old
> compiler may not be possible on current Linux distribution.
The -fpermissive option allows some non-conforming code to be
accepted, but it won't solve all such problems.
It certainly is possible to install old versions of the compiler, but
you may need to build them from source.