|
Home > Archive > Unix Programming > February 2005 > what is .i file?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Luke Z. Yang 2005-02-21, 2:48 am |
| 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
| |
| Tim Prince 2005-02-21, 2:48 am |
|
"Luke Z. Yang" <lukeyang2000@yahoo.com> wrote in message
news:cvbjrc$jrt@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?
| |
| SM Ryan 2005-02-21, 7:54 am |
| 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!
| |
| Ron Natalie 2005-02-21, 7:54 am |
| 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.
|
|
|
|
|