Trouble linking 32-bit and 64-bit objects

Eric Botcazou ebotcazou@libertysurf.fr
Mon Nov 7 20:34:00 GMT 2005


> I am having problems with binutils.  I want to build binutils so it will
> generate 32-bit or 64-bit objects/executables on Solaris 9.  I am using
> gcc-3.4.3 which is configured to use Sun as/ld by default.

That could be the problem.  You should use a gcc 3.4.3 configured to use the 
GNU tools (see the GCC manual).

> Can GNU-binutils be built to generate 32-bit or 64-bit objects/executables
> using the same binaries on Solaris? 

Of course.  I've personally never run into a single glitch with that feature.

-- 
Eric Botcazou



More information about the Binutils mailing list