pppd/pppoed
Hi,
I'm trying to port pppd and pppoed to a MPC860T based embedded board using Hard Hat 1.2 for cross developement. Unfortunately both packages aren't designed for cross compiling.
Did anyone already port these programs to embedded Linux/PPC?
Erik
--
Dipl.-Ing. Erik Kunze Phone: +49 - 89 - 32 14 07 41 PHILOSYS Software GmbH Fax: +49 - 89 - 32 14 07 12 Edisonstr. 6 Email: [email protected] D-85716 Unterschleissheim WWW: www.philosys.de/~kunze
PGP-Key: http://www.philosys.de/~kunze/public_key.txt
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 5 lines · Erik Kunze
I'm trying to port pppd and pppoed to a MPC860T based embedded board using Hard Hat 1.2 for cross developement. Unfortunately both packages aren't designed for cross compiling.
Did anyone already port these programs to embedded Linux/PPC?
Here are my diffs to ppp-2.3.11 - after applying the patches, run
./configure Linux
make CC=<cross>-gcc INCLDIR=<crossdir>/include LIBRDIR=<crossdir>/lib all
where <cross> is your cross compiler prefix e.g. powerpc-linux, and <crossdir> is the location of your cross compiler include and library files - something like /opt/powerpc/<cross>. Probably not a good idea to try to run the "install" target without setting DESTDIR.
I cross-compile under Solaris 2.7, but it should work for Linux-x86 -> Linux/PPC also (in fact, because both are linux, you probably don't need the "Linux" arg to "./configure").
Standard caveat applies - I wrote this message all from memory, check it out yourself before you run it to be sure that it does what I think it does. Cheers!
Murray...
--
Murray Jensen, CSIRO Manufacturing Sci & Tech, Phone: +61 3 9662 7763
Locked Bag No. 9, Preston, Vic, 3072, Australia. Fax: +61 3 9662 7853
Internet: [email protected] (old address was [email protected])
Hi Erik
If you would prefer not to cross compile, Century Systems has a MPC860T based linux product with an optional hard disk on which you can compile both pppd and pppoed. Details at
http://www.centurysys.co.jp/product/eserver/eserverindex.html.
Tania
Quoted 8 lines · Erik Kunze
Hi,
I'm trying to port pppd and pppoed to a MPC860T based embedded board using Hard Hat 1.2 for cross developement. Unfortunately both packages aren't designed for cross compiling.
Did anyone already port these programs to embedded Linux/PPC?
Quoted 9 lines
Erik
--Dipl.-Ing. Erik Kunze Phone: +49 - 89 - 32 14 07 41 PHILOSYS Software GmbH Fax: +49 - 89 - 32 14 07 12 Edisonstr. 6 Email: [email protected] D-85716 Unterschleissheim WWW: www.philosys.de/~kunze
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/