Rev 2010 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2010 | Rev 2013 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #! /bin/sh |
1 | #! /bin/sh |
2 | # Wrapper for compilers which do not understand '-c -o'. |
2 | # Wrapper for compilers which do not understand '-c -o'. |
3 | 3 | ||
4 | scriptversion=2018-03-07.03; # UTC |
4 | scriptversion=2018-03-07.03; # UTC |
5 | 5 | ||
6 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. |
6 | # Copyright (C) 1999-2020 Free Software Foundation, Inc. |
7 | # Written by Tom Tromey <tromey@cygnus.com>. |
7 | # Written by Tom Tromey <tromey@cygnus.com>. |
8 | # |
8 | # |
9 | # This program is free software; you can redistribute it and/or modify |
9 | # This program is free software; you can redistribute it and/or modify |
10 | # it under the terms of the GNU General Public License as published by |
10 | # it under the terms of the GNU General Public License as published by |
11 | # the Free Software Foundation; either version 2, or (at your option) |
11 | # the Free Software Foundation; either version 2, or (at your option) |
Line 51... | Line 51... | ||
51 | # lazily determine how to convert abs files |
51 | # lazily determine how to convert abs files |
52 | case `uname -s` in |
52 | case `uname -s` in |
53 | MINGW*) |
53 | MINGW*) |
54 | file_conv=mingw |
54 | file_conv=mingw |
55 | ;; |
55 | ;; |
56 | CYGWIN*) |
56 | CYGWIN* | MSYS*) |
57 | file_conv=cygwin |
57 | file_conv=cygwin |
58 | ;; |
58 | ;; |
59 | *) |
59 | *) |
60 | file_conv=wine |
60 | file_conv=wine |
61 | ;; |
61 | ;; |
Line 65... | Line 65... | ||
65 | *,$file_conv,*) |
65 | *,$file_conv,*) |
66 | ;; |
66 | ;; |
67 | mingw/*) |
67 | mingw/*) |
68 | file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` |
68 | file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` |
69 | ;; |
69 | ;; |
70 | cygwin/*) |
70 | cygwin/* | msys/*) |
71 | file=`cygpath -m "$file" || echo "$file"` |
71 | file=`cygpath -m "$file" || echo "$file"` |
72 | ;; |
72 | ;; |
73 | wine/*) |
73 | wine/*) |
74 | file=`winepath -w "$file" || echo "$file"` |
74 | file=`winepath -w "$file" || echo "$file"` |
75 | ;; |
75 | ;; |