Cool!
This works, but I still have problems compiling some of the other
applications that reference stdlib.h.
Can you point me to some information about mig? How does it select the
gcc version?

Abhay

On Fri, Nov 13, 2009 at 9:24 PM, Razvan Musaloiu-E. <[email protected]> wrote:
> Hi!
>
> On Fri, 13 Nov 2009, Maciej Franecki wrote:
>
>> it seems that I (maybe partially..) solved it.
>>
>>
>> That's what I've done:
>> installed gcc 4.3.4 from macports
>> changed gcc soft link (in /usr/bin) to point the new version
>>
>> and:
>> *** Successfully built micaz TOSSIM library
>>
>
> I committed some fixes that make it possible to use the gcc 4.0.1 that
> comes with 10.6. If you update to the latest CVS and edit the GCC from
> sim.extra should to point to gcc-4.0 it should work fine.
>
> The ugly details: 10.6 comes with something called C Blocks. The gcc 4.2.1
> has them enable by default and disabling them is a little tricky (passind
> -D__BLOCKS__=0 generates a warning). The good news is that gcc 4.0.1 does
> not so it works fine. The only other thing I did was to add to the flags
> -D_FORTIFY_SOURCE=0 (to avoid another set of errors).
>
> [1] http://thirdcog.eu/pwcblocks/
>
> All the best!
> Razvan ME
>
>>
>> did some basic tests in python and (as for now) it seems to be working.
>>
>>
>> Cheers,
>> Maciej
> _______________________________________________
> 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