This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compiling GCC 4.8.5 on Fedora 25 ( GCC 6.2 )


This did not work ( changing config options ) but I looked at the
output of configure for clues and noticed checks for libstdc++-static
libs -- once I installed these the build succeeds and fails upon
removal of the package.  I also see that the cc1 binary built during
bootstrap does not dynamically link to libstdc++ -- problem solved!
Is this expected at all?

Thanks for the help!

Matt



On Wed, Nov 9, 2016 at 4:47 PM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> On 9 November 2016 at 22:02, Matthew Sellers wrote:
>> Hi Jonathan -- thanks for the reply.
>>
>> Are you able to share what options you are using?  I am trying this
>> with just --enable-languages=c,c++ ( no other options ).  I have also
>> tried building with most flags from the source toolchain I am trying
>> to replicate ( Fedora 20 ) via src rpm.  I am also tried on FC24 for
>> giggles.   All attempts fail with CXXABI errors.
>
>
> My config for 4.8.5 was:
>
> ../gcc-4.8.5/configure --prefix=/home/jwakely/gcc/4.8.5
> --with-system-zlib --with-gnu-ld --with-gnu-as
> --enable-libstdcxx-debug --disable-libitm --disable-libquadmath
> --disable-libmudflap --disable-libvtv --enable-languages=c,c++


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]