This is the mail archive of the gcc-bugs@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]

[Bug target/17646] [4.0 Regression] xgcc links 64bit objects into a 32bit target


------- Additional Comments From jakub at gcc dot gnu dot org  2005-01-06 14:12 -------
There is no bug, the compiler has been configured incorrectly.
--libdir=/usr/lib64 should not be used for multilibbed gcc's,  --libdir=/usr/lib
is what you want.  The os multilib magic will DTRT.
Similarly, --libexecdir=/usr/lib64  --with-slibdir=/lib64 is wrong too,
you should either just use --prefix=/usr and not pass these at all, or
pass --libdir=/usr/lib --libexecdir=/usr/lib --with-slibdir=/lib.
powerpc64 gcc defaulting to -m64 works just fine that way for years.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17646


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