Dear Laurentiu, In message <50aa31d8.5020...@intel.com> you wrote: > > >> -> source /opt/poky-test/environment-setup-armv5te-poky-linux-gnueabi > >> -> ${TARGET_PREFIX}gcc -v -o /tmp/x /tmp/x.c > > Just do: $CC -o /tmp/x /tmp/x.c > > It should work. > > echo $CC > arm-poky-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork > -mtune=arm926ej-s --sysroot=/tests/sdk/sysroots/armv5te-poky-linux-gnueabi
Argh... Isn't it somewhat ... unconventional (to avoid stonger words) to encode compiler options in a variable which is supposed to define the "Program for compiling C programs" ? Should such options not go to one of the *FLAGS variables instead? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de Bankers do it with interest (penalty for early withdrawal). _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto