Hi,
 I'm trying to build cryptopp552 version in Mac Leopard with the
following modifications made to the GNUMakefile

CXXFLAGS = -DNDEBUG -g -O2 -arch i386 -arch x86_64.

gcc version : 4.0.1 ( One that comes along with XCode 3.0 )

libcryptopp.a built successfully and when  building cryptest.exe I get
the following unresolved external refences from Integer

Undefined symbols for architecture x86_64:
  "___umodti3", referenced from:
      CryptoPP::Integer::Modulo(unsigned long long) constin
libcryptopp.a(integer.o)
      CryptoPP::Integer::Modulo(unsigned long long) constin
libcryptopp.a(integer.o)
      CryptoPP::Integer::Divide(unsigned long long&,
CryptoPP::Integer&, CryptoPP::Integer const&, unsigned long long)in
libcryptopp.a(integer.o)
  "___udivti3", referenced from:
      CryptoPP::Integer::Divide(unsigned long long&,
CryptoPP::Integer&, CryptoPP::Integer const&, unsigned long long)in
libcryptopp.a(integer.o)
      unsigned long long CryptoPP::DivideThreeWordsByTwo<unsigned long
long, CryptoPP::DWord>(unsigned long long*, unsigned long long,
unsigned long long, CryptoPP::DWord*)in libcryptopp.a(int   eger.o)

I checked and confirmed that __umodti3 and __udivti3 is missing from
libgcc_s.10.4.dylib and libgcc_s_x86_64.1.dylib

Can someone please confirm if there is a workaround to build
libcryptopp.a (version 5.5.2) with -arch x86_64 options in leopard
using gcc version 4.0.1

Thanks,
Suresh
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---

Reply via email to