Hello everybody,

I have time now and I'm working on what was discussed in the irc channel a couple/few months ago about having a multilib toolchain, but having it default to building 32bit user space instead of 64bit user space.

So far I have not been able to get gcc to build 32 bit by default. I've attempted editing gcc/config/rs6000/linux64.h and editing the specs file dumped by /tools/bin/gcc and changing defaults, however, it isn't helping any.

I figured it'd be easy to just change the specs so that multilib_default was m32 and that if m64 or m32 wasn't given it'd use the 32 bit code.

Same with changing MULTILIB_DEFAULTS in linux64.h to m32.
Perhaps ASM_DEFAULT_SPEC neeed changing to so I changed to so if m32 wasn't given it'd use 32. It's normally set that if m64 isn't given it'll use 64 bit code.

Most of the lists I run across where people are wanting 32 bit by default, they suggest using a wrapper script.

Any ideas?

-William
_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org

Reply via email to