andihofmeister / squidGuard

squidGuard cleanup/rewrite
Other
12 stars 2 forks source link

your micronucleus fork #4

Open cpldcpu opened 10 years ago

cpldcpu commented 10 years ago

Hi Andi,

Since there does not seem to be any other way to contact you on github, I write here.

I looked at your micronucleus fork and was pretty impressed. It is very unfortunate that your improvements did not find their way back into the master. I tried building it under windows using the newset AVR-GCC toolchain. Unfortunately Make stop with a "syntex error" and no further explanation. Any idea?

Regards, Tim

andihofmeister commented 10 years ago

On 11/05/2013 07:12 PM, cpldcpu wrote:

Hi Andi,

Hi,

Any idea?

Unfortunately I'm not familar with AVR-GCC on Windows, but it looks as if your "make" command does just not like the Makefile - there is some GNU-make specific stuff in there. Maybe you just ran the wrong "make" ?

Ciao Andi

cpldcpu commented 10 years ago

Well, I am pretty sure it does not like the Makefile :) AVR-GCC on Windows uses the normal GNU make tools, therefore I believe it is something else. I tried building the firmware under Linux and it worked without a flaw. One strange thing I noticed, however, is that the makefile will not output proper error messages. When I try "make" + a random, nonexisting target, it will just output a colon?!?

I have also been working on Micronucleus and brought it down to 1952 bytes (using the current GCC version). You can see my testing branch here: https://github.com/cpldcpu/micronucleus-t85/tree/testing. I also submitted a pull request to the master, which contains some explanation of what I did. Unfortunately bluebie did not get around reviewing them.

I believe that combining my and your optimizations should bring the size to below 1900 bytes.

Regards, Tim