I'm sorry, I couldn't reproduce your problem. Here's what I did:
-Installed cygwin86 with gcc-core, make, python, perl, rpm, git
-installed the following with rpm -i --ignoreos --nodeps:
http://tinyos.stanford.edu/tinyos/dists/cygwin/nesc-1.3.4-20120709.cygwin.i686.rpm
http://tinyos.stanford.edu/tinyos/dists/cygwin/avr-beta/avr-binutils-beta-2.24-20140623.i386.rpm
http://tinyos.stanford.edu/tinyos/dists/cygwin/avr-beta/avr-gcc-beta-4.8.1-20140710.i386.rpm
http://tinyos.stanford.edu/tinyos/dists/cygwin/avr-beta/avr-libc-beta-1.8.0-20140623.i386.rpm
-cloned tinyos from git
-realised that I have to install tinyos-tools from source, so I installed
the following with setup.exe: autoconf, automake, python3, gcc-g++,
mingw-gcc-core, mingw-gcc-g++, mingw64-x86_64-gcc-core,
mingw64-x86_64-gcc-g++
I also installed JDK x86 and added both JRE and JDK directories to the path
-installed tinyos-tools from source (./Bootstrap; ./configure
--prefix=/usr; make; make install in /tools) - This might be problematic,
if your tinyos path has any special charachter
-compiled the Basestation for ucmini without problems

Andris


On Mon, Aug 11, 2014 at 7:09 PM, Roadstar Runner <[email protected]>
wrote:

> i think the cygwin installation is broken.
> i tried installing cygwin from scratch and different versions of NesC and
> am still stuck with the following errors
>
>
> avr-gcc: error: unrecognized command line option '-_fnesc-gcc=avr-gcc'
> avr-gcc: error: unrecognized command line option '-_fnesc-include=nesc_nx'
> avr-gcc: error: unrecognized command line option '-_fnesc-include=tos'
> avr-gcc: error: unrecognized command line option
> '-_fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask'
> avr-gcc: error: unrecognized command line option '-_fnesc-separator=__'
> avr-gcc: error: unrecognized command line option '-_Wnesc-all'
> avr-gcc: error: unrecognized command line option
> '-_fnesc-cfile=build/iris/app.c'
> avr-gcc: error: unrecognized command line option '-_fnesc-dump=wiring'
> avr-gcc: error: unrecognized command line option
> '-_fnesc-dump=interfaces(!abstract())'
> avr-gcc: error: unrecognized command line option
> '-_fnesc-dump=referenced(interfacedefs, components)'
> avr-gcc: error: unrecognized command line option
> '-_fnesc-dumpfile=build/iris/wiring-check.xml'
> avr-gcc: error: unrecognized command line option '-_fnesc-target=avr'
> avr-gcc: error: unrecognized command line option '-_fnesc-no-debug'
> /opt/tinyos-2.x/support/make/avr/avr.rules:144: recipe for target 'exe0'
> failed
> make: *** [exe0] Error 1
>
>
>
>
>
> On Fri, Jul 25, 2014 at 9:12 AM, Roadstar Runner <[email protected]>
> wrote:
>
>> Thats what i did.
>> I installed cygwin from scratch
>>
>>
>> On Thu, Jul 24, 2014 at 6:03 AM, András Bíró <[email protected]>
>> wrote:
>>
>>> I have no idea, it worked for me without problem. Could you try a clean
>>> install (ideally a new cygwin installation)?
>>>
>>> Andris
>>>
>>>
>>> On Thu, Jul 24, 2014 at 5:00 AM, Roadstar Runner <[email protected]
>>> > wrote:
>>>
>>>> I just installed the new rpms.
>>>> i am currently stuck on the following error
>>>>
>>>> avr-gcc: error: unrecognized command line option '-_fnesc-gcc=avr-gcc'
>>>> avr-gcc: error: unrecognized command line option
>>>> '-_fnesc-include=nesc_nx'
>>>> avr-gcc: error: unrecognized command line option '-_fnesc-include=tos'
>>>> avr-gcc: error: unrecognized command line option
>>>> '-_fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask'
>>>> avr-gcc: error: unrecognized command line option '-_fnesc-separator=__'
>>>> avr-gcc: error: unrecognized command line option '-_Wnesc-all'
>>>> avr-gcc: error: unrecognized command line option
>>>> '-_fnesc-cfile=build/iris/app.c'
>>>> avr-gcc: error: unrecognized command line option '-_fnesc-dump=wiring'
>>>> avr-gcc: error: unrecognized command line option
>>>> '-_fnesc-dump=interfaces(!abstract())'
>>>> avr-gcc: error: unrecognized command line option
>>>> '-_fnesc-dump=referenced(interfacedefs, components)'
>>>> avr-gcc: error: unrecognized command line option
>>>> '-_fnesc-dumpfile=build/iris/wiring-check.xml'
>>>> avr-gcc: error: unrecognized command line option '-_fnesc-target=avr'
>>>> avr-gcc: error: unrecognized command line option '-_fnesc-no-debug'
>>>> /opt/tinyos-2.x/support/make/avr/avr.rules:144: recipe for target
>>>> 'exe0' failed
>>>> make: *** [exe0] Error 1
>>>>
>>>>
>>>> I am trying to find the cause. Please let me know if you have any
>>>> suggestions
>>>>
>>>>
>>>> On Thu, Jul 10, 2014 at 11:00 AM, András Bíró <[email protected]>
>>>> wrote:
>>>>
>>>>> I also added an updated avrdude for cygwin, please check my last
>>>>> comment on the github issue:
>>>>> https://github.com/tinyos/tinyos-main/issues/293
>>>>>
>>>>> Andris
>>>>>
>>>>>
>>>>> On Wed, Jun 25, 2014 at 10:40 AM, András Bíró <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> For some reason I had to use tinyos in virtualbox once, but the usb
>>>>>> support was basicly broken with windows host/linux guest. And installing
>>>>>> linux can be a barrier, so yes, I think we should have cygwin support. 
>>>>>> And
>>>>>> it turned out it was easy to port the toolchain to cygwin.
>>>>>> The other reason I wanted to use the atmel binaries is that it was
>>>>>> compiled with mingw, without cygwin.dll, so it's way faster. But since it
>>>>>> turned out it's not an option, so I must done the cygwin packages anyway.
>>>>>> It's done already, download url at github:
>>>>>> https://github.com/tinyos/tinyos-main/issues/293
>>>>>>
>>>>>> Andris
>>>>>>
>>>>>>
>>>>>> On Wed, Jun 25, 2014 at 9:00 AM, Anton Hergenröder <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>>  Is there any reason to use cygwin for TinyOS nowadays?
>>>>>>> Just use a VM with full-fledged Linux running.
>>>>>>>
>>>>>>> Regards
>>>>>>> Anton
>>>>>>>
>>>>>>>
>>>>>>> On 22.06.2014 15:50, Roadstar Runner wrote:
>>>>>>>
>>>>>>>  i agree that cygwin is a mess, but there are quite a few TinyOS
>>>>>>> users out there using cygwin.
>>>>>>> Is there a way to tell NesC to use windows style paths ?
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Jun 20, 2014 at 1:14 PM, András Bíró <[email protected]
>>>>>>> > wrote:
>>>>>>>
>>>>>>>>  Sorry, you are right, and I didn't realize you were talking about
>>>>>>>> the binary toolchain when you first mentioned this error message.
>>>>>>>>  Apparently, nesc gives linux style paths to gcc, and the avr-gcc
>>>>>>>> by atmel only accepts windows style paths. I will try to compile the
>>>>>>>> toolchain on windows, in the next few days, but don't raise your hopes,
>>>>>>>> cygwin+windows is a mess, sometimes it gives unexpected errors, and 
>>>>>>>> it's
>>>>>>>> really-really slow, so I might not have the patience to fix it.
>>>>>>>>
>>>>>>>>  Andris
>>>>>>>>
>>>>>>>>
>>>>>>>> On Fri, Jun 20, 2014 at 5:55 PM, Roadstar Runner <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>> The Atmel binaries do not work on Cygwin because of  cygwin/linux
>>>>>>>>> path syntax problems.
>>>>>>>>> I get an error avr-gcc.exe: error: /usr/lib/ncc/tdspecs: No such
>>>>>>>>> file or directory even though the file is present.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>  On Fri, Jun 20, 2014 at 7:37 AM, András Bíró <
>>>>>>>>> [email protected]> wrote:
>>>>>>>>>
>>>>>>>>>>   Hi Everyone,
>>>>>>>>>>
>>>>>>>>>> I'm finally done with updating the avr toolchain, and I'm happy
>>>>>>>>>> to announce a beta release. Installation on debian/ubuntu/any dpkg 
>>>>>>>>>> based
>>>>>>>>>> distro:
>>>>>>>>>>
>>>>>>>>>> #apt-get remove avr-tinyos-base
>>>>>>>>>> #apt-get install avr-libc-tinyos-beta
>>>>>>>>>>
>>>>>>>>>> Revert to the old toolchain:
>>>>>>>>>>
>>>>>>>>>> #apt-get remove avr-tinyos-base
>>>>>>>>>> #apt-get install avr-libc-tinyos
>>>>>>>>>>
>>>>>>>>>> There's no rpm yet, but if you need it, I could generate it on
>>>>>>>>>> linux. However, I don't wan't to build the cygwin packages while 
>>>>>>>>>> we're
>>>>>>>>>> testing it, since it's usually a pain to compile on cygwin. If you 
>>>>>>>>>> want to
>>>>>>>>>> use it on windows, please use atmel's official 3.4.4 release
>>>>>>>>>> binary
>>>>>>>>>> <http://www.atmel.com/tools/atmelavrtoolchainforwindows.aspx>
>>>>>>>>>>
>>>>>>>>>> What's new:
>>>>>>>>>> GCC 4.8.1 (instead of 4.1.2)
>>>>>>>>>> Binutils 2.24 (instead of 2.17)
>>>>>>>>>> AVR-libc 1.8.0 (instead of 1.6.7, but since the old gcc, it
>>>>>>>>>> barely know more than 1.4.7)
>>>>>>>>>>
>>>>>>>>>> Source:
>>>>>>>>>> Atmel's pached AVR-GNU Toolchain v3.4.4
>>>>>>>>>> <http://distribute.atmel.no/tools/opensource/Atmel-AVR-GNU-Toolchain/3.4.4/>
>>>>>>>>>> Buildscripts at $TOSROOT/packaging/avr-344-beta
>>>>>>>>>>
>>>>>>>>>> I'm using it for a while, didn't have any problem. Please test
>>>>>>>>>> it, if you can.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>  Please don't reply this email on the list, it's just an
>>>>>>>>>> announcement.
>>>>>>>>>>
>>>>>>>>>> Public discussion is at github:
>>>>>>>>>> https://github.com/tinyos/tinyos-main/issues/293
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>  Best,
>>>>>>>>>> Andras Biro
>>>>>>>>>>
>>>>>>>>>>  _______________________________________________
>>>>>>>>>> Tinyos-help mailing list
>>>>>>>>>> [email protected]
>>>>>>>>>>
>>>>>>>>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Tinyos-help mailing 
>>>>>>> [email protected]https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Dipl.-Inform. Anton Hergenröder
>>>>>>>
>>>>>>> Institut für Telematik,  KIT   Tel +49 721 608 46420
>>>>>>> Zirkel 2,  D-76131 Karlsruhe   Fax +49 721 608 
>>>>>>> 46789http://telematics.tm.kit.edu   Raum: 371, Geb. 20.20
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Tinyos-help mailing list
>>>>>>> [email protected]
>>>>>>>
>>>>>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Tinyos-help mailing list
>>>>> [email protected]
>>>>>
>>>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>>>>
>>>>
>>>>
>>>
>>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to