#890 MINGW GCC compilation bug

gcc (462)

This is very minor, but I'll report it nevertheless.
If compiling MINGW gcc with a full compilation path
across a mount point, gengtype.exe will fail.

To reproduce:
- fstab a mount (ie: d:/srcroot /src)
- set gcc source in /src/gcc
- configure with full path (/src/gcc/configure...)

gengtype.exe will fail because it won't find the files
(file path incorrect in function parse_file, see lexer)


  • Earnie Boyd

    Earnie Boyd - 2006-01-10

    Logged In: YES

    I don't understand how this is a GCC bug. It is more a
    windows feature. What did you set --prefix to?

  • Anonymous - 2006-01-10
    • milestone: --> Known_bugs
    • priority: 5 --> 1
  • Anonymous - 2006-01-10

    Logged In: YES

    There's been a misunderstanding... It's not a 'gcc' bug, but
    rather a bug when trying to compile 'gcc' with an absolute
    path for the configuration (the --prefix has nothing to do
    with it).
    While browsing the wiki today, I found out that it's a known
    bug (see wiki page: "mingw hosted cross compiler"). To quote
    the wiki : "When configuring gcc we must use a relative path
    or gengtype will fail."

    I went through the gengtype source code, and figured out
    that the bug might be fixed by passing some argument to
    gengtype. I'll take a look at it.

  • Danny Smith

    Danny Smith - 2006-09-02
    • status: open --> pending
  • Danny Smith

    Danny Smith - 2006-09-02

    Logged In: YES

    Is this problem still evident?

  • SourceForge Robot

    • status: pending --> closed
  • SourceForge Robot

    Logged In: YES

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 30 days (the time period specified by
    the administrator of this Tracker).


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks