468,771 Members | 1,727 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,771 developers. It's quick & easy.

what is .i file?

Hi(not sure I posted in the right place),

While I tried to use dbx to debug a core file, it reported that dbx can't
find some sort of .i file. Anyone knows what it is and how to get/generate?
I have all .o files but didn't see any .i file.

(/opt/SUNWspro/bin/../WS6/bin/sparcv9/dbx) module -v
Module: xxxxx.o
Language: c++
Debugging information: read [stabs version: 6.0]
Source file (original): /loads/xxxxx.i
Source file (using): cannot find file (see `help pathmap')
Object file: /loads/xxxxx.o
Loadobject: /loads/bin/xyz

(/opt/SUNWspro/bin/../WS6/bin/sparcv9/dbx)

Thanks in advanced,

Luke
Jul 23 '05 #1
3 11692

"Luke Z. Yang" <lu**********@yahoo.com> wrote in message
news:cv********@netnews.proxy.lucent.com...
Hi(not sure I posted in the right place),

While I tried to use dbx to debug a core file, it reported that dbx can't
find some sort of .i file. Anyone knows what it is and how to
get/generate?
I have all .o files but didn't see any .i file.

(/opt/SUNWspro/bin/../WS6/bin/sparcv9/dbx) module -v
Module: xxxxx.o
Language: c++
Debugging information: read [stabs version: 6.0]
Source file (original): /loads/xxxxx.i
Source file (using): cannot find file (see `help pathmap')
Object file: /loads/xxxxx.o
Loadobject: /loads/bin/xyz

(/opt/SUNWspro/bin/../WS6/bin/sparcv9/dbx)

..i sometimes is used for an intermediate file of pre-processed source.
Consult your compiler documentation or a Sun specific NG FAQ to confirm
this. Did you follow the advice about the help command?
Jul 23 '05 #2
Intermediate file between the C preprocessor and the C compiler. It has all
#defines and #includes expanded, and #ifs decided.

--
SM Ryan http://www.rawbw.com/~wyrmwif/
OOOOOOOOOO! NAVY SEALS!
Jul 23 '05 #3
SM Ryan wrote:
Intermediate file between the C preprocessor and the C compiler. It has all
#defines and #includes expanded, and #ifs decided.

Actually, the .i file is usually only written when the preprocessor output
is requested. Normally the data between the preprocessor and the later
phases of the compiler are bufferred elsewhere.
Jul 23 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Karen Grube | last post: by
14 posts views Thread by Frances Del Rio | last post: by
2 posts views Thread by jun_qu | last post: by
1 post views Thread by Brian Simmons | last post: by
1 post views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.