public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Wolfgang Grandegger <wg@grandegger•com>
To: Ming Liu <eemingliu@hotmail•com>
Cc: linuxppc-embedded@ozlabs•org
Subject: Re: how to cross-compile netperf.
Date: Mon, 11 Dec 2006 12:24:45 +0100	[thread overview]
Message-ID: <457D3FFD.8000107@grandegger.com> (raw)
In-Reply-To: <BAY110-F2437D558E178369DB8669CB2D00@phx.gbl>

Ming Liu wrote:
> Dear all,
> Maybe my question is not proper for this maillist but I really see some 
> friends who are using netperf to measure the netowrk performance from 
> this maillist. So I ask for help here.
> Could anyone please tell me how to cross-compile the Netperf which could 
> be run on my PowerPC 405 processor? I cannot find a detailed explanation 
> from the manual. After the downloading and untaring the package, I use 
> the command "./configure --host ppc CC=powerpc-405-linux-gnu-gcc". 
> However unfortunately it doesn't work and error " checking whether 
> setpgrp takes no argument... configure:error: cannot check setpgrp when 
> cross compiling" appears. My host system is X86_64 PC with linux OS and 
> my target system is PowerPC 405(Xilinx Virtex 4 FPGA) with linux 
> too(embedded Ml403 board from Xilinx company). In my condition, which 
> arguments shall I specify?
> If anyone can help, I wll really appreciate a lot.

$ echo "ac_cv_func_setpgrp_void=yes" > config.cache
$ ./configure --host ppc CC=powerpc-405-linux-gnu-gcc --config-cache

Wolfgang.

  reply	other threads:[~2006-12-11 11:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-11 10:07 how to cross-compile netperf Ming Liu
2006-12-11 11:24 ` Wolfgang Grandegger [this message]
2006-12-11 14:01   ` Ming Liu
2006-12-11 14:26   ` Ming Liu

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=457D3FFD.8000107@grandegger.com \
    --to=wg@grandegger$(echo .)com \
    --cc=eemingliu@hotmail$(echo .)com \
    --cc=linuxppc-embedded@ozlabs$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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