Menu

#857 Expose mingw cross-compiler prefix as a config variable

2.0 Series
closed-fixed
5
2009-01-10
2009-01-09
Thomas Kho
No

SCons/Tools/crossmingw.py in 2.42 searches a fixed set of cross-compiler prefixes. The Fink package system on OS X 10.5/Intel, for example, names the mingw cross compiler as i686-pc-mingw-gcc, which isn't found by default.

It would be nice to be able to pass the cross-compiler prefix to SCons.

Discussion

  • Amir Szekely

    Amir Szekely - 2009-01-10

    Thanks, added those prefixes. I don't think there would be too many prefixes to justify a build option for that. But it's possible if more come up later.

     
  • Amir Szekely

    Amir Szekely - 2009-01-10
    • status: open --> closed-fixed
     
  • Thomas Kho

    Thomas Kho - 2009-01-10

    I'm so sorry, I wrote the wrong prefix. It's actually i686-pc-mingw32-gcc.

     
  • Thomas Kho

    Thomas Kho - 2009-01-10
    • status: closed-fixed --> open
     
  • Amir Szekely

    Amir Szekely - 2009-01-10

    No biggie. Fixed.

     
  • Amir Szekely

    Amir Szekely - 2009-01-10
    • status: open --> closed-fixed
     
  • Thomas Kho

    Thomas Kho - 2009-01-10
    • status: closed-fixed --> open
     
  • Thomas Kho

    Thomas Kho - 2009-01-10

    Sorry for the back-and-forth, but the prefix also needs a dash "-" at the end.

     
  • Amir Szekely

    Amir Szekely - 2009-01-10

    Right, my bad.

     
  • Amir Szekely

    Amir Szekely - 2009-01-10
    • status: open --> closed-fixed
     

Log in to post a comment.