You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by Alain Leblanc <aa...@gmail.com> on 2008/10/27 18:32:01 UTC
Building 2.8 on macosx with 64 bits
Hi,
I'm trying to build xerces-2.8 64-bits on mac os X. I run
runConfigure with the options
./runConfigure -p macosx [-b 64] -z "-m64"
I tried with and without the -b option, and both times I get
MacOSPlatformUtils.cpp: In static member function 'static long
unsigned int xercesc_2_8::XMLPlatformUtils::getCurrentMillis()':
MacOSPlatformUtils.cpp:363: error: 'kUnresolvedCFragSymbolAddress' was
not declared in this scope
and then a huge number of errors. I have gcc-4.0.1 installed. Anyone
has an idea what the problem could be.
Thanks,
Alain
Re: Building 2.8 on macosx with 64 bits
Posted by Alain Leblanc <aa...@gmail.com>.
Still didn't work. So I went ahead and built xerces-3.0. I was
concerned about compatibility with my code but the only change I had
to make had to do with creating the output file. Probably worth the
extra effort.
Thanks for your help,
A
2008/10/27 Boris Kolpackov <bo...@codesynthesis.com>:
> Hi Alain,
>
> Alain Leblanc <aa...@gmail.com> writes:
>
>> I'm trying to build xerces-2.8 64-bits on mac os X. I run
>> runConfigure with the options
>>
>> ./runConfigure -p macosx [-b 64] -z "-m64"
>
> Last time I tried this worked:
>
> ./runConfigure -p macosx -c gcc -x g++ -z -arch -z x86_64 \
> -l -arch -l x86_64
>
> There is also Xerces-C++ 3.0.0 which is known to compile and
> work on OS X in the 64-bit mode:
>
> http://xerces.apache.org/xerces-c/build-3.html
>
> Boris
>
> --
> Boris Kolpackov, Code Synthesis Tools http://codesynthesis.com/~boris/blog
> Open source XML data binding for C++: http://codesynthesis.com/products/xsd
> Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde
>
Re: Building 2.8 on macosx with 64 bits
Posted by Boris Kolpackov <bo...@codesynthesis.com>.
Hi Alain,
Alain Leblanc <aa...@gmail.com> writes:
> I'm trying to build xerces-2.8 64-bits on mac os X. I run
> runConfigure with the options
>
> ./runConfigure -p macosx [-b 64] -z "-m64"
Last time I tried this worked:
./runConfigure -p macosx -c gcc -x g++ -z -arch -z x86_64 \
-l -arch -l x86_64
There is also Xerces-C++ 3.0.0 which is known to compile and
work on OS X in the 64-bit mode:
http://xerces.apache.org/xerces-c/build-3.html
Boris
--
Boris Kolpackov, Code Synthesis Tools http://codesynthesis.com/~boris/blog
Open source XML data binding for C++: http://codesynthesis.com/products/xsd
Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde