Re: [Sdcc-user] Microchip AN724 compiled by SDCC ?

2007-08-24 Thread daniel ranc
SDCC is known to be generous with generated code size. This is due to its architecture (single front-end, p-code to multiple target translation). Daniel Vaclav Peroutka wrote: >Hello, > >I tried to compile AN724 ping.c code for simple PPP connection but got into >troubles with code size. In P

[Sdcc-user] BUG REPORTING

2007-08-24 Thread Laszlo Attila Kovacs
Moving a 8051 project for EZUSB (Cypress FX2LP CY7C68013A) from SDCC version 2.3.8 to 2.7.0 encounted two linker problems: 1. wrongly counts the SFR space in the DATA memory size as a result displayes "Insufficient space in data memory." as\link\mcs51\lkmem.c line: 182 2. the program won't run if

Re: [Sdcc-user] Licensing of ASxxxx

2007-08-24 Thread Gudjon I. Gudjonsson
Thanks Maarten Sorry, this happens to me every once in a while :( Anyway if the statement can be understood in the way that the code can be used but not distributed for commercial use then I am still happy. /Gudjon On Fri, Aug 24, 2007 at 09:08:30PM +0200, Maarten Brock wrote: > Gudjon, > >

Re: [Sdcc-user] Licensing of ASxxxx

2007-08-24 Thread Maarten Brock
Gudjon, I think you misunderstood me and missed the word "not" in my reply. If you use SDCC for 8051 you DO use AS. Only if you use it for PIC is AS not used, but it uses the assembler and linker from gputils. Maarten > Hi >Thanks for the answers. The new license is clear but > I

Re: [Sdcc-user] Licensing of ASxxxx

2007-08-24 Thread Gudjon I. Gudjonsson
Hi Thanks for the answers. The new license is clear but I understood the old in the way that both commercial distribution and usage was prohibited. But I am using the 8051 port so I don't use this code :) It will be distributed in Debian under non-free but that is fine by me. It would be nic

Re: [Sdcc-user] Licensing of ASxxxx

2007-08-24 Thread Jesus Calvino-Fraga
Hi, You are neither doing publication nor distribution of AS or ASLINK for commercial use, so I don't see any problem. In other words, you may not sell the hammer but you can sell the chair you made with it. Compare the license of the old AS and ASLINK used with sdcc (version 1.7)

[Sdcc-user] Microchip AN724 compiled by SDCC ?

2007-08-24 Thread Vaclav Peroutka
Hello, I tried to compile AN724 ping.c code for simple PPP connection but got into troubles with code size. In PDF there is a note about 2170 words of code. After I ( ...ported it and... ) compiled it I got last code cell 0xd27 - it is 3367words even with "static" functions. It can't fit into s

[Sdcc-user] Licensing of ASxxxx

2007-08-24 Thread Ken Jackson
That's odd. The terms "public domain" and "copyright" are mutually exclusive. Stanford University defines public domain this way: The term "public domain" refers to creative materials that are not protected by intellectual property laws such as copyright, trademark or patent laws. The pub

Re: [Sdcc-user] Licensing of ASxxxx

2007-08-24 Thread Maarten Brock
Hello Gudjon, The AS assembler and linker that come with SDCC are not used for PIC development. Do you happen to use that or are you using one of the other targets? We did not create the AS assembler and linker, we only adapted it to suit SDCC's needs. Writing those from scratch will