- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have compiled a large proprietary mixed fortran 77 and 90 code with Composer XE usinng ifort -debug -O0. However, when I open the resulting binary within the idb GUI, none of the usual debugging options are available (e.g., the stepping features are grayed out, and breakpoints that are set are ignored when I run). Is there something obvious I am doing wrong? I have done a simple test with the usual helloworld.f90 code, and that works fine.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You said you compiled with -debug, but how did you link the program? What linker and options did you use?
if you used ifort to link, did you also use -debug for the link step?
ron
if you used ifort to link, did you also use -debug for the link step?
ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I used the following lines in the child makefile:
LD = /opt/intel/composerxe-2011/bin/ifort -nofor_main
.
.
.
@$(LD) -g -o m3 $(CRT1) $(OBJS_LIST) \
-L $(Machlibpath) \
$(LIBS)
I believed that the -g option would enable debug. The LD path points to the current version of composerxe-2011 -- 2011.2.137 .
Jerry
LD = /opt/intel/composerxe-2011/bin/ifort -nofor_main
.
.
.
@$(LD) -g -o m3 $(CRT1) $(OBJS_LIST) \
-L $(Machlibpath) \
$(LIBS)
I believed that the -g option would enable debug. The LD path points to the current version of composerxe-2011 -- 2011.2.137 .
Jerry

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page