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: Problem with Solaris 10 / SPARC


On 1 July 2013 22:33, Amos wrote:
> On Sun, Jun 30, 2013 at 8:26 AM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
>> Did you try building those libraries as part of the GCC build, as
>> described at http://gcc.gnu.org/wiki/InstallingGCC ? That should
>> automatically build them correctly and give you a working compiler
>> (probably 32-bit, but capable of building 64-bit objects too.)
>
> No joy with that route either:
>
> I was able to compile gcc-4.0.2 fully 64-bit, but not only did I have
> to set the various environment settings to include "-m64", but I also
> had to fiddle with the specs file to force the default of "-m64" for
> the multilib stuff to get the xgcc stage to finish compiling without
> blowing-up.
>
> Now I'm wondering if I need to somehow suggest the specs during the
> gcc build process to default to 64bit.

You shouldn't need to do any of that or set any env variables.


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