This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more infromation.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Stefane and b.g. - I have a C++ main source module which ends as follows: ------ ... extern "C" { // Needed to suppress C++ constructors */ int __main(void){ return 0; } /* Main Function */ int main(void) { cppSioTest(); return 0; } // main } // extern "C" ------ The rest of the code, including 'cppSioTest()', is written in C++. This module is named "siotest.cpp". It compiles under GNU tools, I link it to an sh2-coff object, and I can debug C and C++ sections at source level. There are surely other dodges, but this one seems to work. John Mills, Sr. Software Engineer TGA Technologies, Inc. 100 Pinnacle Way, Suite 140 Norcross, GA 30071-3633 e-mail: jmills@tga.com Phone: 770-441-2100 ext.124 (voice) 770-449-7740 (FAX) ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |