I'm compiling SSL for Arm linux. I'm using the uclibc wrapper around
arm-linux-gcc so that gcc is arm-uclibc-gcc.  There are appropriate
symlinks for all tools with all of them prefixed by arm-uclibc-. My
machine is an i686 running Slackware 8.1 To compile I do:

./Configure linux-elf-arm shared
make CC=arm-uclibc-gcc RANLIB=arm-uclibc-ranlib AR="arm-uclibc-ar r"

The scripts to determine the ld seem to be hard coded to use gcc, rather
than CC, so that it tries to use the system i386 ld rather than
arm-uclibc-ld. This then baulks at the incorrect elf format (arm instead
of i386).

I tried passing a parameter to make LD=arm-uclibc-ld but that still
fails. 

I hope that makes sense
 
The neatest option seems to me to accept a LD parameter to make(LD has
to be a variable in the makefile) or to use autoconf/automake to build,
which would also have the advantage that the build directory can be a
different directory than the source directory, which is useful if you
use the same source to build for multiple target architectures as I do.

TIA,

Andy




______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to