linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Murray Jensen <Murray.Jensen@cmst.csiro.au>
To: Erik Kunze <Erik.Kunze@philosys.de>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: pppd/pppoed
Date: Fri, 27 Oct 2000 20:59:20 +1100	[thread overview]
Message-ID: <22087.972640760@msa.cmst.csiro.au> (raw)
In-Reply-To: Your message of "Fri, 27 Oct 2000 10:32:34 +0200" <20001027103234.A24109@nphilos.philosys.de>

[-- Attachment #1: Type: text/plain, Size: 1357 bytes --]

On Fri, 27 Oct 2000 10:32:34 +0200, Erik Kunze <Erik.Kunze@philosys.de> writes:
>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: Murray.Jensen@cmst.csiro.au  (old address was mjj@mlb.dmt.csiro.au)


[-- Attachment #2: Type: application/x-gzip, Size: 1133 bytes --]

  reply	other threads:[~2000-10-27  9:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-27  8:32 pppd/pppoed Erik Kunze
2000-10-27  9:59 ` Murray Jensen [this message]
2000-10-30 10:41 ` pppd/pppoed Tania Boak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=22087.972640760@msa.cmst.csiro.au \
    --to=murray.jensen@cmst.csiro.au \
    --cc=Erik.Kunze@philosys.de \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).