[U-Boot-Users] Crosscompiling pppd 2.4.1 with ELDK 2.0

Hi,
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?
Kind regards,
Tord

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 <ELDK_root>/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

I didn't have to change any include file paths and this works for me:
$ configure $ make CC=ppc_8xx-gcc
On Wednesday 20 November 2002 07:32 am, Tord Andersson wrote:
Hi,
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?
Kind regards,
Tord
participants (3)
-
Paul Ruhland
-
Tord Andersson
-
Wolfgang Denk