[nas-2000] Compiling programs for NAS

  • From: Phill Harvey-Smith <afra@xxxxxxxxxxxxxxxxxxx>
  • To: nas-2000@xxxxxxxxxxxxx
  • Date: Mon, 14 Jan 2008 16:58:02 +0000

Hi,

I'm trying to compile some stuff to run on my "Dual HDD NAS" which I believe is compatible with the NAS-2000. I have followed the guide on the nas-2000 site, at

http://www.nas-2000.org/mwiki/index.php?title=Compile_Programs_on_your_PC_%28cross_compiling%29

This seems to work fine for a simple "hello world" program, which executes without problems on the NAS. However trying to compile anything requiring a configure script falls over, even if I use the script sugested on that page, the output I get from trying to compile the included rsync sources is :-

aurigae{rsync-2.5.7}# ./configure
configure: Configuring rsync 2.5.7
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... arm_920t_le-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.

Does anyone know what I have done/am doing wrong ?

Cheers.

Phill.


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



Other related posts:

  • » [nas-2000] Compiling programs for NAS