Skip to content

Exporting to Makefile fails to build on Windows due to command line limit being exceeded #9140

Closed
@srberard

Description

@srberard

Description

Target
Any

Toolchain:
Any Makefile based export.

Expected behavior

mbed export -m <board> -i make_gcc_arm
make

Actual behavior

Error code:
make (e=87): The parameter is incorrect.

Per #6335, the issue is that the command line for the linking step exceeds the 32K limit on Windows. The proposed solution was to use a response file in place of passed everything on the command line. An example was presented here which I have confirmed works correctly.

Issue request type

[ ] Question
[ ] Enhancement
[X] Bug

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions