"Frank W. Miller" wrote: > I probably want to build the binutils too, its not that much extra work and > I'll know for sure what I've got if I do that. That's not optional. Binutils provides (among other things) the assembler and linker, without which gcc is just a glorified C-to-assembler text filter. > The development machine is an ia32 pc running fc8. The target will be a > standalone kernel running in ia32e mode. It sounds like x86_64-pc-linux > will probably work for me. > > What I really want is for the resulting cross tools, gcc, gas, ld, etc. to > be 64-bit only. Will that be the case with this build or will I still need > to use -m64 in my compile steps? Okay, so you probably do want to build a cross. But since the target is not running linux you should not use the x86_64-pc-linux triplet. You might try the bare metal target x86_64-elf. You will have to provide some amount of libc functionality (such as basic headers, startup objects, and possibly a linker script) before you will be able to build the cross compiler, as otherwise it will be unable to build libgcc since it won't be able to link. Typically people use newlib and libgloss for this role, but if you are rolling your own libc then you can take care of that yourself. Brian