From: madcat at takaisin.fi Date: Fri, 2 Mar 2007 11:12:49 +0200 Subject: [U-Boot-Users] ntohl and others In-Reply-To: <022a01c75ca0$ffd488f0$8c1d10ac@atmel.com> References: <1172818642.9612283cTDE02003@stud.mah.se> <022a01c75ca0$ffd488f0$8c1d10ac@atmel.com> Message-ID: <20070302091249.GD10206@takaisin.fi> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, Now that the previous problem is solved, I have the new one. :) I have integrated part of the program to u-boot that uses ntohl and others when communicating to network. It seems that u-boot doesn't have implementation for those functions. I tried to took the libc with the u-boot, but the size of the u-boot doubled. I didn't even try if that worked, because I had to make some changed to U-boot to get it link right. I'm using ixp425 if that's any help. Should I take those functions from libc or does the u-boot have that functionality, but I have missed it somehow? I'm running the processor in big-endian mode so the dirty way would be to hardcode those functions if nothing else comes up. - Teemu K.