- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
we're developing a complex C++/Fortran mixed code program in Linux (Suse Enterprice 11.1) with Eclipse Indigo SC2 and GCC 4.5. The main code is writte in C++ and the libraries (shared objects) are Fortran. The gcc toolchain has been working and debugging was possible but gdb often crashes and let me grow white hairs. So, after having a lot of trouble with gcc and gdb we are trying the Intel solutions (12.1 Update 9) and have replaced g++ and gfortran by icpc and ifort and we have manged to build successfully our executable.
Now we are trying to debug the mixed code in Eclipse/ IDB GUI (which is also Eclipse) but cannot step into the Fortran code. The C++ part is OK and variable are shown correctly but in the Fortran code "no symbols" is shown and we are not able to add the source code, because it is not listed ind IDB GUI. In Eclipse it is the same. We tried also to use static libraries for the Fortran code with the same result. What have we done wrong?
Some of the libraries we have built and tested in Windows with ifort and VS2010 with generic driver routines. The debugging there is no problem. The same source code has been used to build the Linux libxxx.so but not all libraries are portable so we have to debug in Linux.
Any help or suggestions are welcome,
best regards Johannes
UPDATE:
After digging through all the million project settings in Eclipse, we found one missing -g :-( Now debugging is running fine.
Nevertheless, it was written that Intel will abandon IDB for future and improve the Eclipse integration of ?? GDB whatever ?? for Intel compilers! What does that mean? At present we are working on a server with an enterprice Linux and I cannot update the glibc and gcc so easy. That's why we only can use GDB 7.2.xx and not the current versions. The nice feature of IDB is that it works with older glibc and therefore we prefer IDB... We are evaluating the Intel compilers today and have to make a decision in the next days wheather we will buy Intel or stay at the gcc solution. It would be good to know what the future plans of the IDB successor are.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page