Building GCC 4.7.2 on Solaris 10 x86 AMD64 - Getting linker error involving eh_frame

Jim Rice jmrice6640@yahoo.com
Wed Dec 5 20:03:00 GMT 2012


> From: Holmes.Sherlock <its.dipanjan.das@gmail.com>

> Did you use that gcc 4.5.1 with Sun's ld and gas or some
> other combination?


I believe the combination was this:

solaris-build# $PWD/../gcc-4.7.2/configure --prefix=/opt/gcc-4.7.2 --with-gnu-as --with-as=/opt/csw/bin/gas \
               --enable-languages=c,c++ CC='gcc -m64'


sol-build# /opt/csw/gcc4/bin/gcc --version
gcc (Blastwave.org Inc. Mon Aug 23 11:16:32 GMT 2010) 4.5.1
Copyright (C) 2010 Free Software Foundation, Inc.

sol-build# /opt/csw/bin/gas --version
GNU assembler (GNU Binutils) 2.20.1.20100303
Copyright 2009 Free Software Foundation, Inc.

sol-build# /usr/ccs/bin/ld --version
ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.1509



More information about the Gcc-help mailing list