"--oformat" is not supported [windows]
sdvcn at 126.com
sdvcn at 126.com
Wed Dec 30 16:08:06 UTC 2020
On Wednesday, 30 December 2020 at 14:15:11 UTC, kinke wrote:
> With -link-internally, LDC uses the builtin LLD; we don't
> recommend it on the cross-compile Wiki for non-Windows targets
> (and a C compiler like clang instead). LLD comes with different
> driver flavors (usually determined by the LLD executable
> filename, e.g., lld-link.exe and ld.lld.exe) with differing
> CLI; plain lld as used for non-Windows targets with
> -link-internally apparently expects `--format=elf` instead of
> `--oformat`. So either use something like `-link-internally
> -L--format=binary` or `-gcc=clang -Xcc=-target
> -Xcc=armv7em-none-eabi -linker=lld -L--oformat -Lbinary`.
I think I should describe the error,
What I want to describe is that the parameter "oformat" cannot be
passed
我想应该是我描述错误,
我想描述的是"oformat"这个参数无法传递
More information about the digitalmars-d-ldc
mailing list