Little-endian YDL?
Chris Gehlker
yellowdog-general@lists.terrasoftsolutions.com
Thu Nov 20 16:16:02 2003
On Nov 20, 2003, at 2:36 PM, Robert Sanders wrote:
> Hey y'all,
> First, I hope folks don't mind the cross-post.
> Has anyone tried, or does anyone have any comments on a
> *little-endian* version
> of YDL? I believe the PowerPC can operate in both little-endian and
> big-endian modes, and
> I think I've seen reports from gcc of little-endian powerpc builds.
> I'm wondering about this
> because one of the tools we use at work "equates" linux with
> little-endian byte ordering, and
> we have several algorithms that are counting on this ordering. These
> algorithms have been
> more-or-less hand crafted in fortran and C expecting the x86
> little-endian byte ordering. I've
> gotten this tool to compile and run nicely under big-endian YDL, but
> haven't had the time
> to try and recode these little-endian required apps for big-endian.
> I'm not trying to get into a 'big-endian' vice 'little-endian' war,
> just wondering what the YDL
> community thinks of the merits of a YDL little-endian version. Could
> it work on the various
> PowerPC platforms out there, other porting issues, etc.
It won't work on G5. G5's don't have a little endian mode. That's why
there is no Virtual PC for the G5.