Working on Bootforth / ficl
Devin Teske
devin.teske at fisglobal.com
Mon Nov 12 18:52:01 UTC 2012
On Nov 12, 2012, at 10:43 AM, Peter Grehan wrote:
> Hi Devin,
>
>>> - A user-land ficl executable which acted exactly like the
>>> bootloader for better forth development
>>>
>>
>> Does it support "include" ? That's been one of the biggest things
>> preventing me from simulating boot in userland. If it does, this
>> would be a very great addition.
>
> Have you had a look at sys/boot/userboot/test ? That should be able to (mostly?) help with userspace testing.
>
Until now, I was only aware of "testmain" under sys/boot/ficl/ (and that doesn't get me very far because it lacks "include").
I took a look at sys/boot/userboot/test and it looks a lot more robust.
However, "test" currently doesn't compile (error below):
===> test (all)
Warning: Object directory not changed from original /usr/home/dteske/src/freebsd_svn/base/head/sys/boot/userboot/test
cc -O2 -pipe -I/usr/home/dteske/src/freebsd_svn/base/head/sys/boot/userboot/test/.. -I/usr/home/dteske/src/freebsd_svn/base/head/sys/boot/userboot/test/../../.. -std=gnu99 -c test.c
In file included from test.c:41:
/usr/include/stdlib.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wchar_t'
/usr/include/stdlib.h:95: error: expected ')' before '*' token
/usr/include/stdlib.h:96: error: expected ')' before '*' token
/usr/include/stdlib.h:110: error: expected declaration specifiers or '...' before 'wchar_t'
/usr/include/stdlib.h:111: error: expected ';', ',' or ')' before '*' token
*** Error code 1
Stop in /usr/home/dteske/src/freebsd_svn/base/head/sys/boot/userboot/test.
*** Error code 1
--
Devin
_____________
The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.
More information about the freebsd-arch
mailing list