RE: XWisp2 with gcc patch
Chen Xiao Fan <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.gnupic |
|---|---|
| Message-ID | <3B8AEFFADD3DD4118F8100508BACEC2C0A2891CC@spex> |
Thanks Daniel. You are really fast! Of course, Rob did a great job in the first place. I will try out your patch and compile on my Ubuntu system and report my findings here. Regards, Xiaofan -----Original Message----- From: Daniel Serpell [mailto:[email protected]] Sent: Tuesday, September 13, 2005 5:17 AM To: [email protected] Subject: [gnupic] XWisp2 with gcc patch Hi! > See my site, esp. http://www.robh.nl/picsoft.html#xwisp2 Attached, you will find 2 patches: xwisp2.170.linux.patch : This adds a linux "Makefile", and adds various tweaks to the sources (like changing includes to lowercase and defining some missing functions), so the code compiles under gcc in linux. xwisp2.170.linux.unwarn.patch : This fixes some of the warnings on the code. This is not complete, and some of the casts are really important if you want xwisp2 to work under 64bit arches. Instructions: * Unzip the archive *in lowercase*: unzip -L xwisp2170s.zip * Patch the sources: patch -p1 < xwisp2.170.linux.patch patch -p1 < xwisp2.170.linux.unwarn.patch * Compile with "make": make Hope it helps, Daniel.