Date: Mon, 12 Nov 2012 10:51:58 -0800 From: Devin Teske <devin.teske@fisglobal.com> To: Peter Grehan <grehan@freebsd.org> Cc: mike <mike@reifenberger.com>, Devin Teske <dteske@freebsd.org>, Adrian Chadd <adrian@freebsd.org>, freebsd-arch@freebsd.org Subject: Re: Working on Bootforth / ficl Message-ID: <4693988C-04B2-457F-9E4A-CB64840E05C6@fisglobal.com> In-Reply-To: <50A1435F.2010002@freebsd.org> References: <A0A46155-0969-459E-BCD6-4AA7B8B371BE@fisglobal.com> <alpine.WNT.2.00.1211120856000.7920@ux32> <1DE1DC5C-9D7F-4FC7-A27C-736B0B172DBF@fisglobal.com> <50A1435F.2010002@freebsd.org>
index | next in thread | previous in thread | raw e-mail
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.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4693988C-04B2-457F-9E4A-CB64840E05C6>
