This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Bugs using -fPIC on linux (i86 RedHat 5.0)?


> Sure, I would be happy to if you tell me have to make it. I've looked
> through the man page for "preprocess", but I have a hunch that you are
> not looking for the kind of files mentioned in preprocessing there
> (like using -E or similar). If it is the .i or .ii file you want (or
> any other for that sake), you have to tell me how to produce.

It is explained in the 'Bugs/Reporting' section of the gcc manual.
Invoke 'gcc -E source.c >source.i', and ship the resulting .i file.
Please use the same -I, -D, and -U option you've used when compiling
the file.

The advantage of including preprocessed source compared to original
source is that the maintainers don't need to worry about differences
in header files anymore. Without the proper header files, the bug
might not be reproducable.

Hope this helps,
Martin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]