#1 GCC uses wrong path separator for dependencies

OTHER
closed
nobody
gcc (462)
fixed
Known_bugs
2013-01-21
2000-09-25
Paul Sokolovsky
No

gcc from 2.95.2-1 when run with -MM outputs path with \\-separators. Since files generated this way commonly included directly in Makefile's, this causes problem because make interprets \\ as quoting character. So, gcc would better use /. Also, attention might be paid to using drive letters there.

Discussion

    • assigned_to: nobody --> pfalcon
    • labels: 100100 --> gcc
    • status: open --> closed-fixed
     
  • This is fixed by binary-patching current gcc release from Mumit Khan. It was tested to work with both gcc -MM and gcc -E/-MD.

     
  • Danny Smith
    Danny Smith
    2001-05-31

    Logged In: YES
    user_id=11494

    The gcc-2.95.3 build that I submitted has this fixed as
    well, thanks to Earnie's suggestion to change default
    DIR_SEPARATOR

     
  • Earnie Boyd
    Earnie Boyd
    2013-01-21

    • status: closed-fixed --> closed
    • assigned_to: Paul Sokolovsky --> nobody
    • resolution: --> fixed
    • category: --> Known_bugs
    • milestone: --> OTHER