
Dear Ravi Kant Tiwari,
In message loom.20130504T200358-940@post.gmane.org you wrote:
I have download and extracted u-boot-1.1.6 on Linux ubuntu. I just want to compile the source code using GCC(not targeting cross compilation for any embedded platform).
First: U-Boot 1.1.6 is prehistoric (more than 7 years old). If you intend to do anything with U-Boot, then please use recent code.
My understanding is irrespective of platform the source code should compile.
Your understanding is incomplete / incorrect.
What are the necessary makefile and environment changes i need to do for compilation on x86?
No changes are needed, but dependingon which exact target board you are compiling for, you will need a cross tool chain for the respective target architecture.
Best regards,
Wolfgang Denk