From: Wolfgang Denk Date: Sat, 04 May 2013 22:31:17 +0200 Subject: [U-Boot] Compiling U-BOOT bootloader on x86 In-Reply-To: References: Message-ID: <20130504203117.5DFDC38044A@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Ravi Kant Tiwari, In message 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 -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de No journaling file system can recover your data if the disk dies. - Steve Rago in