[haiku-commits] Re: haiku: hrev47584 - src/system/libroot/posix/sys

  • From: François Revol <revol@xxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 28 Jul 2014 18:03:35 +0200

On 28/07/2014 15:06, pulkomandy wrote:
>>   Not sure what to do for ARM. I used the lowest emulated CPU in QEMU.
> 
> Can't we just return "arm" ? Notice how all other archs are using a
> generic name, without targetting a specific generation or anything:
> m86k, ppc, x86_64, aarch64 (and "BePC" when running on x86. for legacy
> reasons). POSIX clearly state that there is no agreement on what the
> format here should be, so I'd prefer to return something generic unless
> there is actual information about the details (eg. we could use more
> specific names when we actually have specific ports of Haiku).

Well I reused the values returned by QEMU, which seems to be quite
generic on non-ARM archs.

François.


Other related posts: