whole program optimization error (-flto flag)

Home Forums Forum whole program optimization error (-flto flag)

This topic contains 1 reply, has 1 voice, and was last updated by  Philip Gruebele 8 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #49705

    Philip Gruebele

    I am passing -flto to ecc.exe both at compile and link time. Everything compiles OK but during linking it says “file not recognized: File format not recognized” for every file that was compiled with -flto.

    #50906

    Philip Gruebele

    I should mention that I am passing

    1. -mcpu=cortex-m3 -target arm-ellcc-linux -flto -Ofast to ecc compile step
    2. -flto -Ofast to ecc link step.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.