[Bug c/30380] bug in cppdefault.c

2007-01-05 Thread hartmann at physik dot uni-kl dot de
--- Comment #2 from hartmann at physik dot uni-kl dot de 2007-01-05 16:42 --- ok. the trick with the include which provides additional 7 chars confused me. but the issue remains: I'm not able to produce an position independent gcc for mingw without hacking cppdefaults.c. The reason for

[Bug c/30380] bug in cppdefault.c

2007-01-04 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-01-05 04:25 --- include is 7 characters which is what the -8 is for as I understand it. I think you mishacked the cppdefault.c. What is passed to cppdefault always includes include: -DGCC_INCLUDE_DIR=\$(libsubdir)/include\ \ So