"Andy Polyakov" <[EMAIL PROTECTED]> said:
> > gcc -E -DBSDI tmp\tmp.c | as -o obj\bn-586.o
>
> Any particular reason why you use BSDI? I can see that there're #if
> defined(__DJGPP__) in generated assembler, but those in turn are guarded
> by #if defined(OUT). Have you tried -DOUT?
Tried it and that works too! AFAICR 'BSDI' was needed because my old 'as'
didn't like ".scl 2" generated by OUT (but as 2.13 does).
> Can you confirm if following works:
>
> perl ... cpp | gcc -x assembler-with-cpp -DBSDI -o ... -c -
Yes, but I needed to look at the intermedite file.
> But it works in ./crypto/des/asm! Add
> "&external_label("OPENSSL_ia32cap") if ($sse2);" somewhere in the
> beginning of bn-586.pl. Does it compile then? A.
That fixed that problem:
#if defined(OUT) || (defined(BSDI) && !defined(ELF))
#define OPENSSL_ia32cap _OPENSSL_ia32cap
--gv
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]