[yocto] Alternative SDK installation directory working?

Wolfgang Denk wd at denx.de
Mon Nov 19 05:50:23 PST 2012


Dear Laurentiu,

In message <50AA31D8.5020700 at 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: wd at denx.de
Bankers do it with interest (penalty for early withdrawal).



More information about the yocto mailing list