Frank Heckenbach wrote:
Adriaan van Os wrote:
"Objection" would be a too big word, but I do use "gcc-3.1.1.diff".
I use it to build gpc with a Apple gcc (apart from the build with FSF gcc-3.2.1).
There are two reasons to do so:
(1) find out how stable it is, as compared to the build with mainline gcc-3.2.1 (2) being able to use Apple specific gcc compiler options for development on Mac OS X
The latest Apple gcc available on the web in source code is "gcc3-1151", a gcc 3.1 variant.
Manually applying "gcc-3.1.1.diff" works, except for the patch to system.h, as Apple has changed:
Do you get any line offsets during patching?
Surprisingly, the line numbers in gcc-3.1.1.diff apply to "gcc3-1151", with only one exceptions: the patch system.h.
gcc-3.1.1.diff and gcc-3.2.1.diff are identical WRT their content only the line numbers differ a little. So if they differ in "gcc3-1151" as well and you get some offsets, manually applying gcc-3.2.1.diff might work just as well.
OK, this information will enable me to apply future gcc-3.2.1.diffs by hand for further experiments with "gcc3-1151".
Regards,
Adriaan van Os