From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <20120509173456.58ea39c8@wks-ddc.exosec.local> References: <20120509171116.5570338a@wks-ddc.exosec.local> <20120509173456.58ea39c8@wks-ddc.exosec.local> Date: Wed, 9 May 2012 11:54:32 -0400 Message-ID: From: Comeau At9Fans To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=f46d0447979bf0c3e104bf9c8425 Subject: Re: [9fans] 5i floating point? Topicbox-Message-UUID: 8641394c-ead7-11e9-9d60-3106f5b1d025 --f46d0447979bf0c3e104bf9c8425 Content-Type: text/plain; charset=ISO-8859-1 On Wed, May 9, 2012 at 11:34 AM, David du Colombier <0intro@gmail.com>wrote: > > Ok, linking gives: > > > > main: undefined: ainc in main > > > > Looks to be a function (which also seems to be undeclared in 5e.c), > > anybody know where it is located? > > It's defined in the libc. You can add it > to /sys/include/libc.h if you wish. If I nm /386/lib/libc.a | grep ainc it returns nothing. -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE ==> http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C++ with Dinkumware's Libraries... Have you tried it? --f46d0447979bf0c3e104bf9c8425 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Wed, May 9, 2012 at 11:34 AM, David du Colombier <<= a href=3D"mailto:0intro@gmail.com" target=3D"_blank">0intro@gmail.com&g= t; wrote:
> Ok, linking gives:
>
> =A0 main: undefined: ainc in main
>
> Looks to be a function (which also seems to be undeclared in 5e.c), > anybody know where it is located?

It's defined in the libc. You can add it
to /sys/include/libc.h if you wish.

If I nm= /386/lib/libc.a | grep ainc

it returns nothing.
=A0
--
Greg Comeau / 4.3.10.1 with C++0xisms n= ow in beta!
Comeau C/C++ ONLINE =3D=3D> =A0 =A0 http://www.comeaucomputing.com/tryit= out
World Class Compilers: =A0Breathtaking C++, Amazing C99, = Fabulous C90.
Comeau C/C++ with Dinkumware's Libraries... Have you tried it?
--f46d0447979bf0c3e104bf9c8425--