Unsigned wchar_t

2011-03-27 Thread Andrew Turner
Hello hackers@ I'm working on getting FreeBSD working with the ARM EABI. As part of this the Procedure Call Standard for the ARM Architecture (AAPCS) defines wchar_t as an unsigned int. Looking at sys/sys/_types.h rune_t, wchar_t and wint_t are of type __ct_rune_t which is an int. Furthermore as

Re: Unsigned wchar_t

2011-03-28 Thread Andrew Turner
On Sun, 27 Mar 2011 22:07:30 +0200 Stefan Farfeleder wrote: > On Mon, Mar 28, 2011 at 08:36:57AM +1300, Andrew Turner wrote: > > Along with this WCHAR_MIN and WCHAR_MAX are defined both in > > and . I would like to remove the copy > > from wchar.h and add an include

Re: How does loader(8) decide where to load the kernel?

2012-05-08 Thread Andrew Turner
On Mon, 7 May 2012 22:32:10 -0700 Tim Kientzle wrote: > > On May 7, 2012, at 6:57 AM, John Baldwin wrote: > > > On Saturday, May 05, 2012 1:06:13 am Tim Kientzle wrote: > >> I have ubldr loading the ELF kernel on BeagleBone and am now > >> trying to untangle some of the hacks I used to get this

Wide character types

2012-06-06 Thread Andrew Turner
I've been working on getting the ARM EABI working with FreeBSD. As part of the EABI spec the Procedure Call Standard for the ARM Architecture (AAPCS) defines wchar_t as either an unsigned int or an unsigned short with the former as the preferred type. FreeBSD defines wchar_t as a __wchar_t, which

Re: Can't use gcc in a clang built world

2013-06-27 Thread Andrew Turner
On Thu, 27 Jun 2013 13:06:07 +0200 Dimitry Andric wrote: > On 2013-06-27 02:02, Kevin Day wrote: > > Are you supposed to be able to use gcc to build userland binaries > > if you built world with clang? > > > > I'm on -CURRENT as of a few days ago (using armv6 but i'm not sure > > if that matters)

Re: Using shell commands versus C equivalents

2007-06-17 Thread Andrew Turner
gt; operation. I ran a quick test on installing and removing a single package with both the cvs and my own version of pkg_delete. I got a small but significant speed improvement with my implementation. The difference was too small to be noticeable by a human

Re: Using shell commands versus C equivalents

2007-06-17 Thread Andrew Turner
use libpkg in the base would require the rest of the pkg tools to be implemented and a lot of testing. As I haven't implemented all the base pkg tools and testing has just been with a limited number of packages I wouldn't want to be responsible for the breakage using libpk