[Tinycc-devel] tcc port to cygwin

2016-05-20 Thread Chris Marshall
Atttached is a first cut port of the TinyCC build to the cygwin platform. The mains problems seem to be from managing the different include files. I hand added some defines to libtcc1.c for __INTPTR_TYPE__ and a few others to get that to build. However, it is now failing to build bcheck.c with:

Re: [Tinycc-devel] tcc port to cygwin

2016-05-20 Thread David Mertens
Hello Chris, According to ack, "skip(')')" shows up all over the place in tccgen.c. What does line 196 of your sys/reent.h look like? Also, if I started from a pristine Windows installation with a core Cygwin installation, which Cygwin packages would I need to install to get to where you are? Da

Re: [Tinycc-devel] tcc port to cygwin

2016-05-20 Thread Chris Marshall
Hi David- Ack! I was only looking at the tccpp.c since the problem was with the includes. I think if you select the Devel all you'll get alot of things which should be enough. Off the top of my head, the specifics would be gmake/make, gcc, and maybe git + your choice of editor. Sorry I can't be

Re: [Tinycc-devel] tcc port to cygwin

2016-05-20 Thread Chris Marshall
Gives me the clue that the problem may be in the parsing rather the pp stuff. The output when PARSE_DEBUG is set definitely shows the problem area. Maybe someone more knowledgeable can figure this out. Unfortunately, I've used up my available tcc debug time for the week. I did manage to port COS

Re: [Tinycc-devel] tcc compilation on MSYS2

2016-05-20 Thread avih
@seyko While I appreciate the confidence in me when you take code/patches which I wrote and commit them to mob yourself (and also the credit which you gave in your commits from today - in the past you did so without giving credit IIRC), I'd also appreciate some heads up and possibly some discuss