X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Fmicaz%2Fsim%2F.platform;h=e9de97234bbbd84406bd666c034f7eb06cf03f68;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hp=fe798618f5ee1467a35f8af9f385dac77d9c0ebf;hpb=adf1de6c009d13b7b52e68535c63b28f59c97400;p=tinyos-2.x.git diff --git a/tos/platforms/micaz/sim/.platform b/tos/platforms/micaz/sim/.platform index fe798618..e9de9723 100644 --- a/tos/platforms/micaz/sim/.platform +++ b/tos/platforms/micaz/sim/.platform @@ -28,11 +28,15 @@ push( @includes, qw( @opts = qw( - -gcc=gcc -fnesc-no-debug -fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask ); +if (defined($ENV{"GCC"})) { + push @opts, "-gcc=$ENV{'GCC'}"; +} else { + push @opts, "-gcc=gcc"; +} push @opts, "-mingw-gcc" if $cygwin;