This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Compile gcc from source on a 64 bit OS ?
- From: Tim Prince <tprince at myrealbox dot com>
- To: NightStrike <nightstrike at gmail dot com>
- Cc: Andrew Haley <aph at redhat dot com>, Dennis Clarke <dclarke at blastwave dot org>, gcc-help at gcc dot gnu dot org
- Date: Tue, 01 Jan 2008 09:19:38 -0800
- Subject: Re: Compile gcc from source on a 64 bit OS ?
- References: <7AEC29D79CDD2646955922C34AFF1973124F3D@USMLVV1EXCTV06.ww005.siemens.net> <18292.7258.3290.720130@zebedee.pink> <2403.72.39.216.186.1198792782.squirrel@mail.blastwave.org> <18292.52983.593457.489236@zebedee.pink> <b609cb3b0712300819u6804be9fn80932e43bd71ea7@mail.gmail.com>
NightStrike wrote:
On 12/28/07, Andrew Haley <aph@redhat.com> wrote:
Dennis Clarke writes:
>
> > Hsieh, Pei-Ying (MED US) writes:
> >
> > > I need to compile gcc from source on a 64 bit linux OS (Ubuntu and
> > > OpenSuSE).
> >
> > x86_64, I guess.
> >
> > > After scanning through the installation procedures and manual, it
> > > is not clear to me how to do this on a 64 bit OS (default seems to
> > > be for 32 bit OS, using -m32). It will be highly appreciated if
> > > you can shed some light on this. Thanks!
> >
> > It's usually configure, make, make install. Debian-derived distros
> > have some patches because they put 64-bit libraries in /lib instead of
> > /lib64, which is where the standard says they should be.
>
> what standard ? An ISO or OpenGroup document somewhere ?
`
Originally the x86_64 ABI, later the Linux FHS.
gcc doesn't look in lib64 for the x86_64-pc-mingw32 target. Is this a bug?
This was discussed on fortran@gcc.gnu.org. My recollection was an
agreement to switch to the lib64 standard.