Alex Chapiro
|
Re: C++ Windows/Linux cross-compile issue
|
Alex Chapiro
02/13/2008 6:13 PM
post5019
|
Re: C++ Windows/Linux cross-compile issue
I just would like to ask you what is the extension of your source files? How do you know that it is C, not C++ compiler
is processing your files? Does it not understand C++ constructions or something else? qcc is just compiler driver, it
invokes real compiler, but in order to see what it runs, special command line options should be applied. In terms of
building if you select C++ project, this is what builder adds to the common.mk file:
# Next lines are for C++ projects only
EXTRA_SUFFIXES+=cxx cpp
LDFLAGS+=-lang-c++
VFLAG_g=-gstabs+
Detection of compiler type is still qcc responsibility.
|
|
|