On Tue, 2013-10-15 at 15:17 +0000, marti.ma...@littlecms.com wrote: > > Hi Will, > > Thanks for the patch, > > After investigating a little more on this, I found gcc 4.6 was > required and sometimes you need to #include <endian.h> for those > macros to work. I would like to stay away of those dependencies, but I > see your point on a little endian power-pc. Do you know of any other > way to check that?
Hi Marti, Not offhand. :-/ Though there aren't any additional macros being pulled in, just a check for some GCC predefined values. > Up to now gcc 3.2 compiles with no problems. What failure do you see? The oldest installs I have handy (gcc 4.1.2 on x86_64, and gcc 4.4.7 on ppc64) both build clean, with the patch applied. > > Regards > Marti. > > > Quoting Will Schmidt <will_schm...@vnet.ibm.com>: > > > While in a powerpc LE environment, the #ifdeffery around USE_BIG_ENDIAN > > (lcms) and CMS_USE_BIG_ENDIAN (lcms2) needs some adjustment to avoid > > setting the BIG_ENDIAN flag. > > > > I've attached a pair of patches for consideration. The first against > > lcms 1.19 , the second against lcms2 2.5. > > > > Thanks, > > -Will > > > > Signed-off-by: Will Schmidt <will_schm...@vnet.ibm.com> > > ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user