summaryrefslogtreecommitdiff
path: root/erts/etc/win32/wsl_tools/vc/ld.sh
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright yearRickard Green2021-12-131-1/+1
|
* Add a default manifest for windowsDan Gudmundsson2020-12-031-3/+7
| | | | | | | | | Previously only erl werl and beam added the manifest. Add it to all exe and dll's. Specificly ./Install.exe that runs after the nsis installer, needs it if somebody wants to run it manually. The test runs don't want to elevate to admin for example.
* Add wsl config as an environment to otp build toolsDan Gudmundsson2019-11-121-0/+210
Allows "cross" building with native windows from WSL linux. Currently we only support building on the windows disk, old WSL installations can not access WSL disk at all and on the newer ones it is still problematic. Thus, create the erlang src/git on /mnt/c/<dir>/otp/ and don't create links from wsl to windows, that will cause problems for the scripts and will not work. Use: cd /mnt/c/<dir>/otp eval `./otp_build env_win32 ARCH` ./otp_build To build with emu_cc (32 and 64) it needs mingw-gcc On wsl ubuntu use: 'sudo apt-get install gcc-mingw-w64' to install everything for both build targets. Additional commit comments: - Let configure (crypto/wx) search in '/mnt/c/DocumentedPaths' - Use -Z7 for debug info Add debug info into .o files instead of vc120.pdb which makes parallel compilation more stable. - Use mingw-gcc as emu_cc Packages available in ubuntu. - Use $ERL_TOP/tmp for temporary directories Linux /tmp is not accessable in older wsl (arrived in Win 10 19.03). - Quoting is problematic It seems to be impossible to handle 'spaces' in paths correct, the autotools are just not prepared to handle that and we depend on them. Currently NOT supported but have been prepared for: -Using wsl as disk -- Ensure directory exists If linux file server is overloaded it may take a while until the directory is visible for windows programs. -- Use absolute paths Windows tools needs absolute (the network path) to access files on the wsl drive. Also we can not use mixed mode (forward slashes) for network paths, windows programs don't recognize //wsl$/<install>/