From: Wolfgang Denk Date: Wed, 20 Nov 2002 14:51:57 +0100 Subject: [U-Boot-Users] Crosscompiling pppd 2.4.1 with ELDK 2.0 In-Reply-To: Your message of "Wed, 20 Nov 2002 13:32:02 +0100." <001001c29090$d4887c00$7c2f7f3e@emil> Message-ID: <20021120135202.61E2011768@denx.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 In message <001001c29090$d4887c00$7c2f7f3e@emil> you wrote: > > I am currently trying to cross-compile pppd with the ELDK 2.0 toolchain. > To build in a native Intel RedHat 7.2 environment was no problem. > However, when trying to crosscompile it seems that there are more things > than CC to be altered. By changing the include file search path, I was > able to build chat, but pppd seems to be a little harder. Is there > anyone out there that might have some clues? The ELDK documentation contains instructions for building the ELDK tool packages from scratch; this is a good starting point for any new packages. [Note: part of the trickery used is to put the /usr/ppc-linux/bin directory in PATH *before* the /usr/bin directory. This is to make sure that the command gcc results in a call to the ELDK cross compiler, rather than the host gcc.] Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de Too many people are ready to carry the stool when the piano needs to be moved.