From: Jesus Calvino-F. <Je...@ec...> - 2006-06-25 14:54:55
|
Hi Philipp, You are confusing header files with library files. Header files are not linked with sdcc generated code. Therefore they are not part of the final hex file and it doesn't matter if they are either GPL or LGPL. Out of the 128 C source files in the device/lib directory, only 12 are not LGPL, and out of those 12 files only 4 are GPL: ser_ir.c, ser_ir_cts_rts.c, time.c, and _decdptr.c. assert.c: Author: No name License: No license information gets.c: Author: No name License: No license information printf_fast_f.c: Author: No name License: No license information serial.c: Author: Dmitry S. Obukhov License: No license information ser_ir.c: Author: Josef Wolf License: GPL ser_ir_cts_rts.c: Author: Josef Wolf License: GPL time.c: Author: Johan Knol License: GPL _decdptr.c: Author: Jean-Louis Vern License: GPL _itoa.c: Author: Bela Torok License: No license information _logexpf.c: Author: No name License: No license information _ltoa.c: Author: Bela Torok License: No license information _ser.c: Author: we License: No license information At 04:44 AM 6/25/2006, Philipp Klaus Krause wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Dave McGuire wrote: > > On Jun 25, 2006, at 6:28 AM, Philipp Klaus Krause wrote: > >>> I > >>> remember that somebody already had ported the Microchip CDC USB > >>> example > >>> to SDCC and posted it here, however, I can't find the respective post > >>> anymore. Does anybody know where I could get the source? > >> Umm, porting Microchip examples to sdcc is illegal. > >> Code generated by sdcc contains GPLed parts, thus the whole program > >> would have to be under GPL. > > > > If this is even close to being true, this makes SDCC significantly > > less useful. It also gives me a great deal of indigestion as I have > > commercial products out there right now whose firmware was compiled > > with SDCC. > > > > Can anyone comment more specifically on this matter? > > > > -Dave > >In contrast to other free compilers the libraries that sdcc links with >your code are under a mixture of GPL and LGPL licenses >(http://sdcc.sourceforge.net/release_wiki/index.php?page=SDCC+Library+Licenses). >Other compilers use GPL or LGPL with a linking exception >(http://en.wikipedia.org/wiki/GPL_linking_exception). >Thus currently every program compiled with sdcc fall under the GPL. >This problem is known to the developers (see the "sdcc library license" >thread on sdcc-devel about one and a half month ago). >It seems the developers wanted to change the situation, but so far >nothing has been done. >I just tried to revive the discussion with my "Library licenses again" >post on this mailing list. > >Philipp > >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.4.3 (GNU/Linux) >Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > >iD8DBQFEnncPbtUV+xsoLpoRAseGAKDF2ysmzc/6xkMTrEJqEqFN+D0scwCfW+Yb >J4k04mGj6+l2KQYeGy7FHkA= >=idZh >-----END PGP SIGNATURE----- > >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >Sdcc-user mailing list >Sdc...@li... >https://lists.sourceforge.net/lists/listinfo/sdcc-user |