if i want to use the "new" build system with tools/make/makerules and
add a new target with the .target files i get a complaint of type 

apps/Blink> make btnode3
mkdir -p build/btnode3
    compiling Blink to a btnode3 binary
ncc -o build/btnode3/main.exe -Os -finline-limit=100000 -Wall -Wshadow
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=btnode3
-fnesc-cfile=build/btnode3/app.c -board= -DIDENT_PROGRAM_NAME="Blink"
-DIDENT_PROGRAM_NAME_BYTES="66,108,105,110,107,0"
-DIDENT_USER_ID="beutel"
-DIDENT_USER_ID_BYTES="98,101,117,116,101,108,0"
-DIDENT_HOSTNAME="tec-pc-beutel.et"
-DIDENT_HOSTNAME_BYTES="116,101,99,45,112,99,45,98,101,117,116,101,108,46,101,116,0"
 -DIDENT_USER_HASH=0x3fc72eb8L -DIDENT_UNIX_TIME=0x4214a310L Blink.nc -lm
Unknown target btnode3
Known targets for TinyOS directory /home/beutel/eclipse3/tinyos-1.x/tos
and the specified include directories are:
  mica pc micaz rene2 telosb mica2 atmega8 mica2dot mica128 telos msp430
make: *** [exe0] Error 2

which can be resolved by omitting the -target flag in ncc....

is there a way to get around this flag? or is there a way to teach ncc
to have a new target?

i am using gcc 3.4.2 and pretty much the HEAD of nesc.

best,

jb



-- 
Jan Beutel                                 [EMAIL PROTECTED]
Computer Engineering and Networks Laboratory, ETZ G75
ETH Zurich                              +41 1 632 70 32 Phone
Gloriastrasse 35                          +41 1 632 10 35 Fax
CH 8092 Zurich/Switzerland  http://www.tik.ee.ethz.ch/~beutel


_______________________________________________
Tinyos-users mailing list
[email protected]
http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users

Reply via email to