Okay I have a compiler with powerpc64 that can build 32 bit by default.

All I did this time around was add --with-cpu=default32 for each gcc build.

I chrooted and tested this with dummy.c and gcc will build an ELF 32- bit MSB executable and
gcc -m64 will build an ELF 64-bit MSB executable.

I was probably getting errors from my first post as I introduced changes that were not appropriate.

By the way, I don't know if other arches will honor the --with- cpu=default32. Sparc64 is my next task and I'll find out.

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

Reply via email to