Skip to content

Unknown compiler option "--platform:x86" for vcc #12297

Closed
@slangmgh

Description

@slangmgh

The nim compiler add an unknown compiler option "--platform:x86" for x86.

Example

echo "Hello World!"

Current Output

> nim c hello
D:\Tool\Nim\tmp>nd hello
CC: stdlib_io.nim
CC: stdlib_system.nim
CC: hello.nim
cl: command line warning D9002 :ignore unknown option“--platform:x86”

Possible Solution

Additional Information

OS: win10
32bit nim
c compiler: vc2008, vc2013, vc2017

D:\Tool\Nim\tmp>nim -v
Nim Compiler Version 1.0.0 [Windows: i386]
Compiled at 2019-09-28
Copyright (c) 2006-2019 by Andreas Rumpf

active boot switches: -d:release

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