Dave Nicolson
cdf05bbc50
Fix symlink paths
2023-05-22 23:55:06 +03:00
Martin Storsjö
68b9eb60fa
wrappers: Use -lucrtapp instead of -lvcruntime140_app
...
Passing -lucrt* to the clang driver inhibits the implicit default
-lmsvcrt, so this ends up only using libucrtapp.a instead of libucrt.a.
This still requires that the default crt was ucrt, as the prebuilt
libc++.a needs to have been built for the right crt.
2020-06-16 11:32:17 +03:00
Steve Lhomme
26e56ed5f6
Update the mingw32uwp wrapper libraries
...
- windowsapp is the preferred library when targeting Windows 10
https://docs.microsoft.com/en-us/uwp/win32-and-com/win32-apis
- _UCRT ensures we use the Universal C runtime
2020-06-04 00:19:33 +03:00
Martin Storsjö
c1882530c3
Add copyright and license headers to all shell script files, for clarity
2020-03-05 11:31:31 +02:00
Martin Storsjö
5623fd232c
wrappers: Remove the ld wrapping of --help and -v
...
The MinGW driver in lld now handle these flags, including the
libtool specific keywords.
2019-05-28 00:04:39 +03:00
Steve Lhomme
4f5134fb25
wrappers: fix PATH not working when there are spaces in them
2019-05-17 12:36:00 +03:00
Steve Lhomme
cd73ed8308
wrappers: link with the Windows Store specific runtime for UWP
2019-04-18 12:35:25 +03:00
Steve Lhomme
a270bc3cad
wrappers: force linking with mincore for UWP targets
...
it's not needed for regular win32 so shouldn't be either for these targets
2019-04-18 12:23:38 +03:00
Martin Storsjö
b5deb9fc1f
Set a default target in wrapper scripts and executables
2018-10-10 23:33:19 +03:00
Martin Storsjö
818766d3d4
Use posix shell variable expansion substitution instead of subshells with sed
2018-10-08 14:13:42 +03:00
Martin Storsjö
a7c2d85bf7
Update the comment about --enable-auto-import in the ld wrapper
2018-09-05 13:08:37 +03:00
Martin Storsjö
5899f4f536
Add the installation bin directory to the path internally in wrapper scripts
...
This allows invoking the script frontends via an explicit path,
without adding the directory to the PATH environment variable before
calling them.
2018-05-07 10:24:24 +03:00
Martin Storsjö
3e61dc4908
Consistently use 4 spaces for indentation in shell scripts
2018-02-26 12:48:18 +02:00
Martin Storsjö
55e8aef024
Provide <triplet>-<tool> wrappers and links to many llvm tools
...
Provide wrappers named <triplet>-gcc and <triplet>-g++ as well,
to ease cross compilation with e.g. autotools, to allow just
specifying --host=<triplet>.
Provide wrappers for objdump and ld that provide specific output
that autotools look for.
Provide <triplet>-strip as a symlink to /bin/true, since there is
no strip tool available yet (and llvm-objcopy doesn't support
COFF yet).
2018-01-10 10:53:02 +02:00