Compiling GCC/GFortran
Tim Prince
n8tm@aol.com
Fri Oct 21 14:38:00 GMT 2011
On 10/21/2011 10:35 AM, Daniel Carrera wrote:
> On 10/21/2011 04:31 PM, FX wrote:
>> Hi,
>>
>>> /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such
>>> file or directory
>>
>> You're missing glibc's 32-bit headers. A simple google search off
>> "GCC" + "stubs-32.h:
>> No such file or directory" reports many occurrences of this error,
>> with the proper diagnostics.
>>
>> If you only want a 64-bit compiler, then simply use --disable-multilib
>
>
> Thanks. I guess I mentally got stuck on "stdio.h" and I kept wondering
> how there could be something wrong with stdio.h. I am still not sure I
> understand what 32-bit headers have to do with stdio.h.
>
> I'm compiling again with --disable-multilib
>
> Just one more question: Is there any reason why I would want 32-bit
> headers on a 64-bit computer?
>
> Cheers,
> Daniel.
As already answered, if you want to build both 64-bit and 32-bit
gfortran, as implied by multilib. Or, if for any reason, you want to
build 32-bit apps.
--
Tim Prince
More information about the Fortran
mailing list