-target doesn't work correctly

Home Forums Forum -target doesn't work correctly

This topic contains 0 replies, has 1 voice, and was last updated by  Windoze 7 months, 1 week ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #78135 Reply

    Windoze

    I’m trying to use ellcc for some cross compiling, and have found some weird behaviors about “-target” option.

    • ecc++ -target TARGET ... is the only working form of this option.
    • ecc++ --target=TARGET tells me it cannot find standard include files.
    • ecc++ --target TARGET tells me --target is not supported.

    Now, the nasty thing is, CMake uses --target=TARGET form which doesn’t actually work.

    I didn’t look into the source code but it’s definitely a bug.

Viewing 1 post (of 1 total)
Reply To: -target doesn't work correctly
Your information: