Re: build issue for gcc-4.8.5 on ubuntu 16.04

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 16/05/17 16:38, Pintu wrote:
> I run the command like this for c and c++ -
> /home/gcc/gcc-4.8.5/configure CC=/usr/bin/gcc
> --prefix=/home/gcc/gcc-4.8.5.install --build=powerpc64le-linux-gnu
> --host=powerpc64le-linux-gnu --target=powerpc64le-linux-gnu --enable-shared
> --enable-threads=posix --with-system-zlib --enable-__cxa_atexit
> --enable-gnu-unique-object --enable-linker-build-id
> --with-linker-hash-style=gnu --enable-languages=c,c++,lto
> --enable-initfini-array --disable-libgcj --enable-gnu-indirect-function
> --with-long-double-128 --enable-secureplt --disable-multilib
> --with-cpu=power8 --with-tune=power8
> 
> I tried this command on a different system which has older version of
> gcc-4.8.3, I did not get any error while building, so I think building
> latest version gcc with older can work but reverse process will not work in
> some of the cases if I am right. But, actually I wanted to build this
> version of gcc(4.8.5) on my new machine which has 5.4 version.

As an aside, I get seg faults in the compiler with 6.2.0 on a PINE64
(aarch64) native build.  The same config options etc work fine for
5.4.0, 4.8.5 and 4.8.0.  I'll have a look in the GCC bugzilla when I get
a chance.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux