From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dirk Behme Date: Thu, 09 Apr 2009 18:02:19 +0200 Subject: [U-Boot] Toolchain for 0map35xx In-Reply-To: References: Message-ID: <49DE1C0B.9060806@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Gianfranco, Ing.G.Morandi (Portatile) wrote: > Hello to everyone, > > Few weeks ago, I've followed a thread on this list regarding the toolchain > should be used to compile code for omap 35xx. > Surfing on the net, I've also found a msg of Koen Kooi where he described a > patch to be applied on /arch/arm/Makefile in order to let gcc 4.3.x work. > > Now I am not an expert of toolchain and I didn't understand what is the > actual status, thus my question is: > may I use the toolchain coming with the ELDK 4.2 to compile for omap35xx or > do I have to apply some patches? I don't know toolchain coming with ELDK 4.2, but for U-Boot for OMAP 35x you don't need a special compiler. A non-broken arm-linux-gcc or similar will work. While bringing OMAP U-Boot support to mainline, we explicitly switched to a more conservative toolchain configuration (-march=armv5 instead of v7a) to enable more toolchains to work. Try the toolchain you have and ask or report errors if it doesn't work. Best regards Dirk Btw.: For other code, e.g. Linux user space programs which need special optimizations, other toolchain might be necessary, though.