Aren't the '\15's reported as illegal characters carriage return characters? Remember: unix ends lines with 0x0A == \012 (normally called newline or linefeed (LF). dos/windo(ze,ws) ends lines with both 0x0D == \015 and 0x0A == \012 My guess is that bison is barfing on CRLFs instead of LFs in the .y file(s). Bob Ammerman RAm Systems (contract development of high performance, high function, low-level software) ----- Original Message ----- From: Simon Nield To: Sent: Tuesday, September 05, 2000 9:18 AM Subject: Re: [PIC]: Gpasm/ 16f877/ Windows > Having hunted through the code it would appear that the f877 _is_ supported in gpasm. > > > I have tried to compile gpasm using CygWin 1.1.0 > ./configure seems to work ok: > ------- > bash-2.04$ ./configure > loading cache ./config.cache > checking for gcc... (cached) gcc > checking whether the C compiler (gcc ) works... yes > checking whether the C compiler (gcc ) is a cross-compiler... no > checking whether we are using GNU C... (cached) yes > checking whether gcc accepts -g... (cached) yes > checking for bison... (cached) bison -y > checking for flex... (cached) flex > checking for yywrap in -lfl... (cached) yes > checking for a BSD compatible install... (cached) /usr/bin/install -c > checking for main in -lfl... (cached) yes > checking how to run the C preprocessor... (cached) gcc -E > checking for ANSI C header files... (cached) yes > checking for malloc.h... (cached) yes > checking for unistd.h... (cached) yes > checking for string.h... (cached) yes > checking for strings.h... (cached) yes > checking for working const... (cached) yes > checking whether struct tm is in sys/time.h or time.h... (cached) time.h > checking for working alloca.h... (cached) no > checking for alloca... (cached) yes > checking for strdup... (cached) yes > checking for strtol... (cached) yes > checking for strcasecmp... (cached) yes > checking for stricmp... (cached) no > updating cache ./config.cache > creating ./config.status > creating doc/Makefile > creating Makefile > creating config.h > bash-2.04$ > ------- > > make however falls over with a few hundred errors: > ------- > bash-2.04$ make > bison -y -d gpasm.y > ("gpasm.y", line 95) error: unknown character: \15 > ("gpasm.y", line 95) error: Skipping to next % > ("gpasm.y", line 103) error: unknown character: \15 > ("gpasm.y", line 103) error: Skipping to next % > ' is invalid in %tokenerror: ` > ("gpasm.y", line 105) error: Skipping to next % > ' is invalid in %tokenerror: ` > -------and so on----- > > any ideas what's going on here ? > > Thanks, > Simon > > -- > http://www.piclist.com hint: The list server can filter out subtopics > (like ads or off topics) for you. See http://www.piclist.com/#topics -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics