This is the mail archive of the ecos-devel@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ECOS] Using C++ operator new and delete


On Tue, Nov 21, 2006 at 07:18:40AM -0800, David Luca wrote:
> Yes, you are right, I was using gcc and not cpp
> compiler. However, now I renamed hello.c to hello.cpp,
> compiled with g++ and now I have a lot of errors...I
> used -mhard-float, then remove it, used -mfpu=fpa,
> fpe, none worked.

Look in your ecos.ecc file for the option CYGBLD_GLOBAL_CFLAGS.  This
lists the flags eCos is compiled with. You should compile your
application with the same flags. 

            Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]