Hi,
> For other programs, after setting the environment variables
according to this guide, it is enough to run:
> > > ./configure --host=mips-linux > make
> > I really need your help, because it doesn't wotk with OPENSSL.
That's because OpenSSL is not using autoconf but a Configure script
that's created by hand
(and supports even more platforms...), so linux' "standard" mechanism
just doesn't work.
> I tried to investigate this in a large number of different ways
digging in the Configure, config, Makefile and so on, but with no luck
> > Thank you very much in advance!
OpenSSL does things slightly different, but once you get used to it,
it's pretty cool.
For a starting point, you could try
"./Configure linux-generic32 --cross-compile-prefix=mips-linux"
after setting the environment variables. This assumes:
1. Your target platform is sufficiently similar to linux. You can
look into the Configure script to
see many more platforms and you could try if e.g. any of the
irix-mips<something>-gcc
platform definitions are working for you (giving you the bonus of
MIPS assembler code).
Also, if you want to dig into the details of the platform
definitions, you might want to add
another one for you case.
2. The crosscompiler is named somthing like mips-linux-gcc, which
AFAIR is implied by the
host parameter in your sample above. Anway, what you specify as
"--cross-compile-prefix"
is the prefix, that gets prepended to all those calls to
compilation tools like gcc, ar, ld.
HTH,
Stefan_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev