Thank you, Micheal! I did get that file build/pc/main.exe and it runs well^_^. However, I'm just worried about these strange warnings whether affecting my future work.
发件人: Michael Schippling 发送时间: 2007-04-28 01:13:16 收件人: Derek FOol 抄送: TinyOS Help Mailing List 主题: (瑞星提示-此邮件可能是垃圾邮件)Re: [Tinyos-help] gcc: unrecognized option '-pthread'???? I think the -pthread thing is some kind of leftover compile option. gcc just ignores it and uses it's own idea of threads, if any... The other one is odd...I don't know where __nesc_nido_initialise is (but it must have been written by someone from the old British Commonwealth...) so I can't look, but it sounds like someone put an extra "&" in front of a pointer variable or something. The two key pieces of information are: 1) Do you get an output file: build/pc/main.exe ? 2) If so, does it run? The proof's in the pudding. MS Derek FOol wrote: > Hi all, > I've installed TinyOS 1.1.11, and cd to /opt/tinyos-1.x/apps/Blink and > type 'make pc'. It complains: > "gcc: unrecognized option '-pthread' > C:/TinyOS/cygwin/opt/tinyos-1.x/tos/platform/pc/PowerStateM.nc: In > function '__nesc_nido_initialise': > C:/TinyOS/cygwin/opt/tinyos-1.x/tos/platform/pc/PowerStateM.nc:478: > warning: passing arg 1of 'memset' discards qualifiers from pointer > target type > compiled Blink to build/pc/main.exe" > > and what's that mean??? > > > ------------------------------------------------------------------------ > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
