nesC is a modification of C for embedded systems. nescc is the reference implementation based on gcc. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 49089 [details] ebuild file
Created attachment 49090 [details, diff] patch to fix installation path for modified avr assembler
Created attachment 49091 [details, diff] patch to fix name clash with gcc feature
nesc currently requires tinyos (see bug #78908), an operating system for embedded systems, to compile properly.
Created attachment 62903 [details] Updated ebuild for nesc Updated nesc ebuild. Note that the name is changed from nescc to nesc. This ebuild drops dependency on as-avr, gcc-avr, avr-libc since these are not required but optional. Please test and comment.
Created attachment 62960 [details] nesc-1.2_alpha10 cvs snapshot A version bump. This version is quite stable. Note that with nesc-1.2 the TinyOS nesC compiler has moved to TinyOS tree. I've ready a ncc-1.1.13 ebuild that will follow this attachment in another bug.
new version: nesC 1.2 alpha11 released on july 11. nesc group provides a packaged version via sourceforge: https://sourceforge.net/project/showfiles.php?group_id=56288 a new ebuild without cvs eclass will follow tomorrow.
Created attachment 63370 [details] nesc-1.2_alpha11 Version bump. This version drop dependency on gcc-avr.
Created attachment 67611 [details] nesc-1.2_beta2 Version bump. Now use versionator eclass instead of bash logic.
Created attachment 76158 [details, diff] suggested patch fixing hint in error message Hi this is a suggested fix for the hint given when the "TOSDIR environment" is set unapropriately, suggesting to install ">=dev-embedded/tinyos-1.1.13" while dev-embedded/tinyos is now a "meta package" and does not install the file /etc/env.d/99tinyos anymore and depends on nesc. dev-embeded/tos-1.1.14-r1.ebuild provides this now. This happend to me only because my overlay was set unapropriately and dev-embeded/tos didn't install the 99tinyos file because i didn't add it to the right "files" directory. Thanks, Aur
Created attachment 76158 [details, diff] suggested patch fixing hint in error message Hi this is a suggested fix for the hint given when the "TOSDIR environment" is set unapropriately, suggesting to install ">=dev-embedded/tinyos-1.1.13" while dev-embedded/tinyos is now a "meta package" and does not install the file /etc/env.d/99tinyos anymore and depends on nesc. dev-embeded/tos-1.1.14-r1.ebuild provides this now. This happend to me only because my overlay was set unapropriately and dev-embeded/tos didn't install the 99tinyos file because i didn't add it to the right "files" directory. Thanks, Aurélien
Thanks for the patch, it will be included in the ebuild when it will be included in the tree (ASAP)
it will take a little more to hit the tree, nesc-1.2.1 is out, I'll update the ebuild for this version ASAP.
Created attachment 77214 [details] nesc-1.2.1.ebuild version bump, includes proposed patch and removes the versionator stuff which is not needed anymore
Now in portage as dev-tinyos/nesc.