From: nico Date: Sat, 11 Mar 2006 11:56:51 +0100 Subject: [U-Boot-Users] Linking U-boot with Newlib In-Reply-To: <20060311085938.E8573352BB6@atlas.denx.de> References: <20060311085938.E8573352BB6@atlas.denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de For sure this code is very low level, but I want to use some special IO features that Arm provided in a version of Newlib. Those special features are mainly used for Semihosting, or platform emulation when you emulate an Arm based hardware using the standard IO of the host to communicate. I managed to implement some of the serial_getc, puts and so on in the board specific files but it`s not the same level of interoperability as with library linked software... On 3/11/06, Wolfgang Denk wrote: > In message you wrote: > > > > I`ve been trying to link U-boot 1.1.4 with the Newlib C library > > May I ask why you would want to do this? > > > instead of the buildin fonctions for IOs and... I`m running > > desperately into troubles, I tried to avoid multiple definitions but > > it is still not resolving all the symbols... > > That is only to be expected. This code is very low-level and not at > all the same as a user space library. > > > Is there options in the build process for doing so ? > > No, and I don't see any need for it. Maybe you can explain which > problem you're trying to solve. > > Best regards, > > Wolfgang Denk > > -- > Software Engineering: Embedded and Realtime Systems, Embedded Linux > Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de > I have often regretted my speech, never my silence. >