By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,238 Members | 1,746 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,238 IT Pros & Developers. It's quick & easy.

what is .i file?

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a

"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

P: n/a
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

P: n/a
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.