public inbox for linux-8086@vger.kernel.org
 help / color / mirror / Atom feed
* More dev86 changes (0.16.7)
@ 2002-08-02 20:18 Robert de Bath
  2002-08-02 20:24 ` Manuel Novoa III
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Robert de Bath @ 2002-08-02 20:18 UTC (permalink / raw)
  To: Linux-8086

Rather than joining in this discussion I've been adding about a thousand
lines of new code (and another of old) to dev86. The result is a nice
shiny new CPP. My problem now is that I've run out of bugs in it and need
your help to find some more.  ;-)

Advantages:
 The new CPP is fully ansi capable including '#' '##' and '??='.
 It's also a proper K&R preprocessor if you want.

My next step will be to rip the old CPP out of bcc completely, hopefully
making it lots smaller and so small enough to easily fit in an ELKS a.out.

This version uses the new cpp by default, -e will make it fall back to
the old one (for the moment).

With this version __STDC__ is now defined as "1" not "0" as it was before
because cpp is now fully ansi compliant (crosses fingers).

-- 
Rob.                          (Robert de Bath <robert$ @ debath.co.uk>)
                                       <http://www.cix.co.uk/~mayday>



^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: More dev86 changes (0.16.7)
@ 2002-08-03  5:21 Ken Martwick
  2002-08-03  6:12 ` Robert de Bath
  0 siblings, 1 reply; 16+ messages in thread
From: Ken Martwick @ 2002-08-03  5:21 UTC (permalink / raw)
  To: Robert de Bath; +Cc: Linux-8086

Robert de Bath wrote (in part):
> Rather than joining in this discussion I've been adding about a
> thousand lines of new code (and another of old) to dev86. The
> result is a nice shiny new CPP. My problem now is that I've run
> out of bugs in it and need your help to find some more.  ;-)
 
Hi Rob,
I tried to compile bcc v.0.16.7 and got the following errors:
 
------------------------ snip -------------------------------------
cc -Wall -Wstrict-prototypes -O2 -g -o bcc-cpp main.o cpp.o hash.o
token1.o token2.o
cpp.o: In function `gettok':
/usr/src/dev86-0.16.7/cpp/cpp.c:126: undefined reference to `is_ckey'
cpp.o: In function `get_onetok':
/usr/src/dev86-0.16.7/cpp/cpp.c:422: undefined reference to `is_ctok'
collect2: ld returned 1 exit status
make[3]: *** [bcc-cpp] Error 1
make[3]: Leaving directory `/usr/src/dev86-0.16.7/cpp'
make[2]: *** [cpp] Error 2
------------------------ snip -------------------------------------
 
Ken
 



^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: More dev86 changes (0.16.7)
@ 2002-08-03 17:07 Ken Martwick
  2002-08-03 17:14 ` Paul Nasrat
  0 siblings, 1 reply; 16+ messages in thread
From: Ken Martwick @ 2002-08-03 17:07 UTC (permalink / raw)
  To: Robert de Bath; +Cc: Linux-8086

Robert de Bath wrote:
 
> 
> Install gperf.
> I have altered the Makefile so it doesn't delete the files tho, that
> file and the generated token*.h files are attached, they go in the
> linux-86/cpp directory.
 
Hi Rob,
 
     Neither the presence of gperf nor of the files you sent change
the error messages in the least.  I am using egcs-2.90.29; could that
be a problem?
 
Ken
 



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2002-08-11 20:01 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-02 20:18 More dev86 changes (0.16.7) Robert de Bath
2002-08-02 20:24 ` Manuel Novoa III
2002-08-03 10:17 ` More dev86 changes (0.16.7) [About the optimiser] Harry Kalogirou
2002-08-03 11:01   ` Robert de Bath
2002-08-03 11:31   ` Robert de Bath
2002-08-03 12:24     ` Harry Kalogirou
2002-08-10 19:36 ` More dev86 changes (0.16.7) Manuel Novoa III
2002-08-10 20:28   ` Robert de Bath
2002-08-11  1:06     ` Manuel Novoa III
2002-08-11 16:44       ` dev86-0.16.8 cpp bugs Manuel Novoa III
2002-08-11 19:19         ` Robert de Bath
2002-08-11 20:01           ` Manuel Novoa III
  -- strict thread matches above, loose matches on Subject: below --
2002-08-03  5:21 More dev86 changes (0.16.7) Ken Martwick
2002-08-03  6:12 ` Robert de Bath
2002-08-03 17:07 Ken Martwick
2002-08-03 17:14 ` Paul Nasrat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox