I got a new laptop recently, with an Athlon 64 X2 chip. Dual core, 64 bit - killing two birds with one stone as far as osdev is concerned - I couldn't resist
![Smile :)](./images/smilies/icon_smile.gif)
Anyway, I installed the latest version of Kubuntu for AMD64, and began to get my dev environment set up. The trouble was, when I tried to compile my kernel, GAS spat out loads of errors about operand size etc, so I summised that it must be trying to compile my 32 bit kernel as 64 bit.
So I started to follow the instructions on the wiki on setting up a cross compiler, downloaded the source files, set up the environment, but when I got to configuring binutils, apparently "config.guess" couldn't determine my host machine type.
I tried adding the "--host" option, with operands containing many combinations of "x86_64", "amd64", "linux-gnu", "x86_64-pc", but none were recognised. Google returned no promising results, so I'm hoping one of you guys have either been through this yourself, or know more than me about this sort of thing. Any input will be appreciated!
Thanks,
Sean