Perhaps not, but you also have companies that still need to support new 
features in a product that is still supported on both PPC and i386.

At anyrate, I just wanted to also mention you could wrap the whole block 
in a mac platform check if you like:

#ifdef MAC_ENV
   
   ifdef __ppc__
      #define PODOFO_IS_BIG_ENDIAN
   #else
      #define PODOFO_IS_LITTLE_ENDIAN
   #endif

#endif


Leonard Rosenthol wrote:
> I would be pretty surprised to find anyone building NEW software for PPC...
>
> -----Original Message-----
> From: Michael Marsella [mailto:[email protected]] 
> Sent: Monday, April 27, 2009 8:52 AM
> To: [email protected]
> Subject: Re: [Podofo-users] Universal build on Mac OSX
>
> I found it a bit more useful to build PoDoFo ourselves rather than using 
> Mac Ports. In order to get the universal build correct, I added the 
> following to the PdfDefines.h to detect the endian-ness:
>
> //add a check to get the endian-ness correct for mac systems
> #ifdef __ppc__
> #define PODOFO_IS_BIG_ENDIAN
> #else
> #define PODOFO_IS_LITTLE_ENDIAN
> #endif
>
> This works fine for us since we only build for windows and mac, but of 
> course, assumes that if it aint macPPC, its not Big endian, which may 
> not be a suitable assumption for all users.
>
> anyway, hope that helps.
> Cheers!
> ~Michael Marsella
>
>
> Dominik Seichter wrote:
>   
>> Hi Pierre,
>>
>> In fact PoDoFo has also a mechanism to decide during runtime if it is on a 
>> big 
>> or little endian system. But this mechanism is in my opinion definitly the 
>> wrong way to go (sure 'cause it was my idea), so it should be replaced by 
>> the 
>> PODOFO_IS_LITTLE_ENDIAN or PODOFO_IS_BIG_ENDIAN defines.
>>
>> Regarding these defines. You are right these are set during configure time. 
>> The reason is: I do not know a way to set these correctly during compile 
>> time. If we can include some code in PdfDefines.h to set these  correct on 
>> _all_ compilers and plattforms we can of course remove the check from CMake.
>>
>> best regards,
>>      Dom
>>
>> Am Montag, 27. April 2009 schrieb Pierre Marchand:
>>   
>>     
>>> Hi,
>>>
>>> I had some issues with the universal variant of the PoDoFo version (0.7.0)
>>> provided by MacPorts when building both Fontmatrix and Scribus. I must say
>>> I can't make up my mind concerning the best  way to fix it. I've filed a
>>> bug report on their tracker <http://trac.macports.org/ticket/19418>  It led
>>> to the observation that there was a mechanism to detect endianess at
>>> configure time --as opposed to compile time-- which prevents to build a
>>> true universal version of the library.
>>>
>>> Ideas? Is this even a issue from your point of view?
>>>     
>>>       
>>
>>   
>> ------------------------------------------------------------------------
>>
>> ------------------------------------------------------------------------------
>> Crystal Reports &#45; New Free Runtime and 30 Day Trial
>> Check out the new simplified licensign option that enables unlimited
>> royalty&#45;free distribution of the report engine for externally facing 
>> server and web deployment.
>> http://p.sf.net/sfu/businessobjects
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Podofo-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/podofo-users
>>   
>>     
>
>
> ------------------------------------------------------------------------------
> Crystal Reports &#45; New Free Runtime and 30 Day Trial
> Check out the new simplified licensign option that enables unlimited
> royalty&#45;free distribution of the report engine for externally facing 
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Podofo-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/podofo-users
>
> ------------------------------------------------------------------------------
> Crystal Reports &#45; New Free Runtime and 30 Day Trial
> Check out the new simplified licensign option that enables unlimited
> royalty&#45;free distribution of the report engine for externally facing 
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Podofo-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/podofo-users
>
>   


------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to