Hi Wei Dai,
I searched & replaced _M_X64. It only appeared in config.h and integer.cpp.
I got the code from :pserver:[EMAIL PROTECTED]:/cvsroot/cryptopp module
c5 using TortoiseCVS.
Compiled using cl *.cpp /Ehsc > comperr.txt, I still get the a lot of
compile error. Most if not all is:
c:\temp\cryptoCVS\c5\secblock.h(24) : error C2039: 'ptrdiff_t' : is not a
member of 'std'
c:\temp\cryptoCVS\c5\secblock.h(43) : see reference to class
template instantiation 'CryptoPP::AllocatorBase<T>' being compiled
c:\temp\cryptoCVS\c5\secblock.h(24) : error C2039: 'ptrdiff_t' : is not a
member of 'std'
c:\temp\cryptoCVS\c5\secblock.h(78) : see reference to class
template instantiation 'CryptoPP::AllocatorBase<T>' being compiled
with
[
T=byte
]
c:\temp\cryptoCVS\c5\secblock.h(106) : see reference to class
template instantiation 'CryptoPP::AllocatorWithCleanup<T>' being compiled
with
[
T=byte
]
After a quick peek at secblock.h (24). And I tried with cl *.cpp /EHsc /D
"CRYPTOPP_MSVCRT6" (Is this correct?)
Compile errors:
c:\temp\cryptoCVS\c5\dll.h(57) : error C2039: 'new_handler' : is not a
member of 'std'
c:\temp\cryptoCVS\c5\dll.h(57) : error C2868: 'new_handler' : illegal syntax
for using-declaration; expected qualified-name
ida.cpp(398) : error C2976: 'std::reverse_iterator' : too few template
arguments
C:\Program Files\Microsoft Platform SDK\Include\crt\utility(173) :
see declaration of 'std::reverse_iterator'
ida.cpp(400) : error C2440: 'type cast' : cannot convert from 'const byte
*const ' to 'std::reverse_iterator'
No constructor could take the source type, or constructor overload
resolution was ambiguous
integer.cpp(21) : fatal error C1083: Cannot open include file: 'Intrin.h':
No such file or directory
misc.cpp(36) : error C2039: 'new_handler' : is not a member of 'std'
misc.cpp(36) : error C2868: 'new_handler' : illegal syntax for
using-declaration; expected qualified-name
I searched MS Platform SDK and found emmintrin.h. mmintrin.h, xmmintrin.h
but no intrin.h.
Anything I should try next? I'm willing to try anything to make this works..
:)
Rgds & thanks,
Antony
> -----Original Message-----
> From: Wei Dai [mailto:[EMAIL PROTECTED]
> Sent: Saturday, August 13, 2005 4:44 PM
> To: [email protected]
> Subject: Re: How to create IA64 cryptlib.lib using MS Platform SDK?
>
> Using the current code in CVS, you can probably build
> Crypto++ for IA64 using the same code as for AMD64. Trying
> this: search for _M_X64 and replace it with _M_IA64 (or add
> more #ifdefs). Please let me know whether this works. If it
> does, I'll update the CVS.