linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Frank Rowand <frank_rowand@mvista.com>
To: Kwansuk Kim <kskim@neowave.co.kr>
Cc: LinuxPPC <linuxppc-embedded@lists.linuxppc.org>, frowand@mvista.com
Subject: Re: Compiling apache for Linux PPC
Date: Fri, 04 Aug 2000 20:32:26 -0700	[thread overview]
Message-ID: <398B8ACA.F11EE7F6@mvista.com> (raw)
In-Reply-To: NEBBKFENMLEDKDHMEHPJEEBPCBAA.kskim@neowave.co.kr


Kwansuk Kim wrote:
>
> I'm trying to implement embedded linux router.
>
> So I tried to cross-compile apache on x86 linux machine.
>
> I changed the compiler name from 'gcc' to 'powerpc-linux-gcc'
>
> But when I ran make there was an error. Of course compile with gcc, it works well.
>
> Is there any options? It seems there is no use of configure option '--tartget=powerpc-linux'
>

A few hints...


./configure --prefix=YOUR_INSTALL_PATH

make

cd src/main

copy gen_test_char and gen_uri_delims to your target (PowerPC) system

run gen_test_char and gen_uri_delims on your target system

copy the output of gen_test_char to test_char.h on your host system

copy the output of gen_uri_delims to uri_delims.h on your host system

cd -

make

*** I may not have the syntax exactly right on the next command, but it
gives you the idea:

find -name "*\.a" -exec \
  /opt/hardhat/devkit/ppc/8xx/bin/powerpc-linux-ranlib {} \;

make

make install



-Frank
--
Frank Rowand <frank_rowand@mvista.com>
MontaVista Software, Inc

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

      reply	other threads:[~2000-08-05  3:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-05  0:45 Compiling apache for Linux PPC Kwansuk Kim
2000-08-05  3:32 ` Frank Rowand [this message]

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=398B8ACA.F11EE7F6@mvista.com \
    --to=frank_rowand@mvista.com \
    --cc=frowand@mvista.com \
    --cc=kskim@neowave.co.kr \
    --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).