help with compiling gcc-4.1.2 on CentOS 6.3 x64
Han Jiang
oglops@gmail.com
Wed Nov 21 16:40:00 GMT 2012
i followed this tutorial and compiled 4.1.2 successfully.
../gcc-4.1.2/configure --prefix=/opt/gcc412 --program-suffix=412
--enable-shared --enable-threads=posix --enable-checking=release
--disable-libunwind-exceptions --enable-__cxa_atexit
--disable-multilib
then change Makefile line
MAKEINFO = /opt/YOURUSERNAME/newlib-1.15.0/missing makeinfo
to:
MAKEINFO = makeinfo
then:
make -j 2 bootstrap
compilation succeeded then.
On Wed, Nov 21, 2012 at 2:41 PM, Ian Lance Taylor <iant@google.com> wrote:
> On Tue, Nov 20, 2012 at 10:23 PM, Han Jiang <oglops@gmail.com> wrote:
>
>> WARNING: `makeinfo' is missing on your system. You should only need it if
>> you modified a `.texi' or `.texinfo' file, or any other file
>> indirectly affecting the aspect of the manual. The spurious
>> call might also be the consequence of using a buggy `make' (AIX,
>> DU, IRIX). You might want to install the `Texinfo' package or
>> the `GNU make' package. Grab either from any GNU archive site.
>
> Install Texinfo 4.7 or later before running configure, or run
> "contrib/gcc_update --touch" after unpacking the tar file.
>
>> i'm not a programmer and i'm out of clue right now, anyone please help me ?
>
> The truth is that building GCC yourself is a job for a programmer.
> GCC 4.1 is very old. You can probably find an installable package for
> it on the net somewhere.
>
> Ian
More information about the Gcc-help
mailing list