Skip to content

Win64: link fails with lots of object files #1160

@rainers

Description

@rainers

Building druntime with a Visual D project puts all modules on the commandline (through a response file), but linking the unittest executable or creating the library fails with

The command line is too long.
Error: C:/s/d/ldc/build-ldc2-x64/bin/Debug/x86.bat failed with status: 1

This happens because the list of arguments is longer than the limit for batch files (8192 characters). LDC should switch to a response file in this case, too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions