[oe] How to change $(CC) to use g++ version

Elvis Dowson elvis.dowson at mac.com
Sun Jun 21 04:51:16 UTC 2009


Hi,
	How can I change my compiler from gcc to g++ in an OE recipe?

For example,

do_compile () {
    ${CC} ${CFLAGS} ${LDFLAGS} ${WORKDIR}/read_port.cpp -o libserial- 
test-read-port
}

here CC should be calling the g++ version of the arm-g++ compiler.

Best regards,

Elvis






More information about the Openembedded-devel mailing list