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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20021120/dd6a6ed9/attachment.htm
Quoted 7 lines · 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
Signature · 4 lines
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.
I didn't have to change any include file paths and this works for me:
$ configure $ make CC=ppc_8xx-gcc
Quoted 12 lines · Tord Andersson
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