From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vipin KUMAR Date: Thu, 15 Jul 2010 16:41:23 +0530 Subject: [U-Boot] u-boot-2010.03 build errors with USE_PRIVATE_LIBGCC=yes option In-Reply-To: <20100715091308.EA3EB160691@gemini.denx.de> References: <4C3EB257.6000202@st.com> <201007151015.22703.fabio.giovagnini@aurion-tech.com> <4C3ECE08.8010608@st.com> <201007151104.22596.fabio.giovagnini@aurion-tech.com> <4C3ED008.1080207@st.com> <20100715091308.EA3EB160691@gemini.denx.de> Message-ID: <4C3EECDB.7000708@st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 7/15/2010 2:43 PM, Wolfgang Denk wrote: > Dear Vipin KUMAR, > Dear Wolfgang, > In message <4C3ED008.1080207@st.com> you wrote: >> >>> ok, so the only way is to select the source file containing the fuction from >>> libgcc and include at source level into your source u-boot tree. >>> I did the same but I started from the lib dir of linux kernel >> >> Hmmm, I was just avoiding it thinking that maybe someone somewhere would have >> already done that. May be that patch can also be sent to the community > > Feel free to go on - we're looking forward to seeing your patch. > The problem why I was looking for this is that the tool-chain I am using only supports -mhard-float option and this toolchain is specifically meant for armv7 (basically Cortex-A9 with FPU enabled). Since this option -msoft-float is passed from arch/arm/cpu/config.mk, and it is common for all arm configurations. Is there a good way to pass -mhard-float.. Regards Vipin > Best regards, > > Wolfgang Denk >