gnupic: Re: [gnupic] RE: [PIC] Mini Howto: Microchip tools under Linux with Wine
Subject:
Re: [gnupic] RE: [PIC] Mini Howto: Microchip tools under Linux with Wine
From:
Jeff ####@####.####
Date:
10 Sep 2005 18:39:10 +0100
Message-Id: <200509101739.j8AHdF6o007622@ylpvm25.prodigy.net>
On Saturday 10 September 2005 04:27 am, Rob Hamerling wrote:
>
> Today I have released XWisp2 version 1.7.00.
> Major enhancement: runs now also under Linux besides OS/2 eComStation
> and Windows.
>
It may run under Linux, but it won't compile in Linux.
Your makefile seems to be for OS2 (?). I made a Makefile for Linux, and gcc
goes berserk when attempting to compile the code.
Some C files include "xwisp2.h", others include "XWisp2.h". Includes in Linux
are case sensitive. After fixing that, I get a multitude of error messages
regarding object types. Gcc is quite picky about proper typing (which is a
Good Thing), and treats such things as passing a char pointer when it expects
a const char pointer as an error, not a warning.
There may be gcc flags that will force gcc to compile such lines anyway, but
IMHO, using such features is not a good idea. It makes debugging more
difficult, and some logical errors in the code can remain undetected for a
long time.
Jeff