Windows 10 Linux Bash Shell: Compiling linux app on windows

Rattle Weird Hole via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Aug 6 10:26:05 PDT 2016


On Saturday, 6 August 2016 at 17:18:51 UTC, Andre Pany wrote:
> Hi,
>
> I play around with the new windows 10 feature to run a linux
> sub system on windows.
>
> -> Installing dmd is working fine with the command
> curl -fsS https://dlang.org/install.sh | bash -s dmd
>
> -> Activating dmd is also working
> source ~/dlang/dmd-2.071.1/activate
>
> -> dmd can be started and shows correct version
> dmd --version.
>
> -> Compiling a hello world works, linking fails
> "dmd test -c" creates a test.o file
>
> but "dmd test" fails with error:
> cc: no such file or directory
> --- errorlevel 255
>
> Do you have an idea how to fix the linker issue?
>
> Kind regards
> André

ld must be found in the environment ?


More information about the Digitalmars-d-learn mailing list