https://gcc.gnu.org/bugzilla/show_bug.cgi?id=129236

--- Comment #4 from Mikael Morin <mikael at gcc dot gnu.org> ---
(In reply to Jerry DeLisle from comment #3)
> (In reply to Mikael Morin from comment #2)
> > There were times where building a toolchain for both 32 bits and 64 bits on
> > pc architecture was as simple as passing --enable-multilib as argument to
> > the gcc configure command.
> > 
> > I have two subdirectories in /usr, i686-linux-gnu and x86_64-linux-gnu, both
> > holding symlinks to the actual specialized programs libs and includes, but I
> > can't get the compiler to use them.
> 
> Have you tried setting LD_LIBRARY_PATH in your environment. This is what I
> have to do.

No, it was not a library problem.  Depending on the configure arguments, it was
either a missing header file or a missing assembler.

I finally managed to get the compilation to succeed, when configured as a
cross-compiler.  The error message is:

Error: Type mismatch in argument 'e' at (1); passed INTEGER(4) to INTEGER(8)

So, SIZEOF seems to have a 4 bytes result precision on 32 bits machines.

Reply via email to