# Compiled with arm-2007q3 from CodeSourcery on freshly installed Debian Etch
# Using CTorrent v. dnh3.3.2 from http://www.rahul.net/dholmes/ctorrent/
# Programs are distributed under GNU Public License V.3. Source code is available at above web address

# NOTE: This compile requires a working, cross-compiled version of OpenSSL. Use the latest release.

./Configure --prefix=/home/me/arm/openssl os/compiler:arm-none-linux-gnueabi-gcc
make
make install

# NOTE:	I give no warranty or promises with this software. CTorrent works fine on my Linkstation Live.
# 	Use it and all other programs at your own risk. These files are here because I couldn't find pre-compiled binaries
#	so I thought I would post them for someone else that has the same problem as I had - hope it saves you some time.

./configure --prefix=/home/me/arm/ctorrent --build=i686-pc-linux-gnu --host=arm-none-linux-gnueabi \
--target=arm-none-linux-gnueabi CPPFLAGS="-I. -I/home/me/arm/openssl/include" LDFLAGS="-L/home/me/arm/openssl/lib/libssl"

 make LDFLAGS=-static