Home » Developing U++ » U++ Developers corner » Endian specific source changes, for Universal support.
Endian specific source changes, for Universal support. [message #7018] |
Fri, 08 December 2006 02:33 |
lundman
Messages: 175 Registered: March 2006 Location: Tokyo
|
Experienced Member |
|
|
On OsX in particular, you can produce Universal binaries, applications with both Intel and PPC compiled code. This is enabled by giving gcc "-arch intel -arch ppc".
However, there are parts of U++ that currently are in #ifdef ENDIAN.
Have you considered changing said code for endian independant code, like bit-shifts etc, or at worst, use OS given endian functions like ntohl() etc.
There do not appear to be too many endian related calls in UPP.
|
|
|
|
|
Endian specific source changes, for Universal support.
By: lundman on Fri, 08 December 2006 02:33
|
|
|
Re: Endian specific source changes, for Universal support.
By: lundman on Fri, 08 December 2006 06:34
|
|
|
Re: Endian specific source changes, for Universal support.
By: mirek on Fri, 08 December 2006 09:25
|
|
|
Re: Endian specific source changes, for Universal support.
By: lundman on Fri, 08 December 2006 09:32
|
|
|
Re: Endian specific source changes, for Universal support.
By: mirek on Fri, 08 December 2006 11:12
|
Goto Forum:
Current Time: Tue May 21 21:59:59 CEST 2024
Total time taken to generate the page: 0.02248 seconds
|