gnupic: Re: [gnupic] Re: PIC32 C32 GCC Source Code Released
Subject:
Re: [gnupic] Re: PIC32 C32 GCC Source Code Released
From:
"Xiaofan Chen" ####@####.####
Date:
10 Nov 2007 00:22:37 +0000
Message-Id: <a276da400711091621l1bedf5der92a69b9dac1f0f1b@mail.gmail.com>
On Nov 9, 2007 7:03 AM, John Steele Scott ####@####.#### wrote:
> > Thanks. But then I have to question the legality of Microchip's
> > distributing a code size limit C32 binary since it uses GNU GPLed
> > source codes. I am not a lawyer but this is kind of strange.
> > That is why I asked in the forum in the first place.
> > http://forum.microchip.com/tm.aspx?m=292995
>
> The reply James Grosbach gave you in the Microchip forum suggests that the
> size limitation is imposed by the runtime library somehow, but I don't see
> how that would work. On the other hand, I can imagine that the easiest
> place to impose this restriction would be in a linker script.
>
I got the answer again and it seems that James is right and the
distributed executables have no restrictions on code size.
As I run the Upgrader.exe to update the default starter
version (16k) to the student version (64k), it seems that he is right,
I can see that the library files are updated.
I tested his patch and configuration and it works.
So if some hackers can port newlib over to PIC32, it is actually possible
to lift the code size limit.
Xiaofan