All of lore.kernel.org
 help / color / mirror / Atom feed
* How to change $(CC) to use g++ version
@ 2009-06-21  4:51 Elvis Dowson
  2009-06-21  7:50 ` Koen Kooi
  0 siblings, 1 reply; 2+ messages in thread
From: Elvis Dowson @ 2009-06-21  4:51 UTC (permalink / raw)
  To: OpenEmbedded Developers

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to change $(CC) to use g++ version
  2009-06-21  4:51 How to change $(CC) to use g++ version Elvis Dowson
@ 2009-06-21  7:50 ` Koen Kooi
  0 siblings, 0 replies; 2+ messages in thread
From: Koen Kooi @ 2009-06-21  7:50 UTC (permalink / raw)
  To: openembedded-devel

On 21-06-09 06:51, Elvis Dowson wrote:
> Hi,
> How can I change my compiler from gcc to g++ in an OE recipe?

${CXX}




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-21  8:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-21  4:51 How to change $(CC) to use g++ version Elvis Dowson
2009-06-21  7:50 ` Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.