This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Fixinclude help for QNX port
- From: Graeme Peterson <gp at qnx dot com>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 15 Jan 2003 12:43:41 -0500 (EST)
- Subject: Fixinclude help for QNX port
Hi.
I am working on QNX Neutrino support in gcc-3.2.1, and will be
submitting a head branch patch to gcc-patches for consideration.
This is based on a patch that was submitted by J.T. Conklin a
couple of months back, with the suggested changes made.
One of the issues he and I have been tripping over is that the
fixinclude stuff is breaking some of the QNX headers, specifically
stddef.h and limits.h (size_t and wchar_t fixes are the culprits).
My build fails, and if I then delete gcc/include/limits.h and
gcc/include/stddef.h, then it continues successfully. Here is
the inclhack.def changes I hoped would fix this for me:
fix = {
hackname = qnx_nto_limits_h;
files = limits.h;
mach = '*nto-qnx*';
replace; /* empty replacement -> no fixing the file */
};
fix = {
hackname = qnx_nto_stddef_h;
files = stddef.h;
mach = '*nto-qnx*';
replace; /* empty replacement -> no fixing the file */
};
I ran genfixes/autogen and confirmed that the fixes made it into the
fixincl.x. Basically, I want to either not fix these files, or delete
them after they have been fixed.
Any and all help appreciated.
Thanks.
Graeme Peterson
QNX Tools Group