Hi, For the interpreation of environment variables Cygwin behaves like any *nix would do. That means: * directories must be separated by / * spaces must be escaped
Instead of C:\Program Files\Microsoft Visual Studio\VC98\atl\include try /cygdrive/c/Program\ Files/Microsoft\ Visual\ Studio/VC98/atl/include regards Wouter On Tuesday 27 February 2007 23:51, Affan Syed wrote: > Hi, > I wanted to work with a separate tinyOS tree for some specialized hardware > attached to mica2 (so I have different hardare pin configurations). I > currently have tinyos1.1.14 on XP/cygwin. > However, when I try to compile using the following make file, I get errors > where it seems I have added incorrect parameters for the include file. > > ERRORS: > compiling uwModemDemo to a mica2 binary > ncc -o build/mica2/main.exe -Os -board=micasb -target=mica2 > -I%T/lib/Counters -Wall -Wshad > ow -DDEF_TOS_AM_GROUP=0x7d -Wall -finline-limit=100000 > -fnesc-cfile=build/mica2/app.c C:\P > rogram Files\Microsoft Visual Studio\VC98\atl\include;C:\Program > Files\Microsoft Visual St > udio\VC98\mfc\include;C:\Program Files\Microsoft Visual Studio\VC98\include > uwModemDemo.nc > -lm > avr-gcc: C:Program: No such file or directory > avr-gcc: FilesMicrosoft: No such file or directory > avr-gcc: Visual: No such file or directory > avr-gcc: StudioVC98atlinclude: No such file or directory > avr-gcc: no input files > C:Program: not found > C:Program: not found > make: *** [build/mica2/main.exe] Error 127 > > MAKEFILE: > > > ifndef TOSDIR > $(error TOSDIR is not defined) > endif > > ifndef COMMDIR > COMMDIR := ../../tos > $(warning COMMDIR is not defined, assuming $(COMMDIR).) > endif > > ifndef INCLUDE > INCLUDE := -I. > endif > > PLATALL = mica2 clean > PLATFORM = $(filter $(PLATALL), $(MAKECMDGOALS)) > > ifeq ($(PLATFORM),mica2) > # configuration for mica2 > INCLUDE += -I$(COMMDIR)/platform/mica2 -I$(COMMDIR)/platform/avrmote > endif > > INCLUDE += -I$(COMMDIR)/interfaces -I$(COMMDIR)/system > > CFLAGS += $(INCLUDE) > > #disable nesC warning messages > NESC_FLAGS = -Wall > > # set low fuse byte to 0xc4, so that the MCU will use the internal > # oscillator (at 8MHz) for fast wakeup. > ifdef MIB510 > PROGRAMMER_EXTRA_FLAGS_MIB := --wr_fuse_l=c4 > else > PROGRAMMER_EXTRA_FLAGS := --wr_fuse_l=c4 > endif > > include $(TOSDIR)/../apps/Makerules > > > To me it seems that there is some cygwin environment variable that gets > added in the CFLAGS that results in adding C:\Program Files\Microsoft > Visual Studio\VC98\atl\include etc into the final compilation. > Note that when I run an application (e.g. Blink) etc, from the normal app > directory, it works fine. > Can some one please help me out on this? > > Thankyou. > > Regards, > Affan Syed. > > > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
