Re: GCC Compiling issues with cross compiler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 12, 2021 at 6:19 PM Yerabolu, Spoorthy Priya via Gcc-help
<gcc-help@xxxxxxxxxxx> wrote:
>
> Flags tried
> --entry main
> -Werror=implicit-function-declaration
> --sysroot=/home/zephyr-sdk-0.11.3/x86_64-zephyr-elf/x86_64-zephyr-elf/lib
> -isysroot=/home /zephyr-sdk-0.11.3/x86_64-zephyr-elf/x86_64-zephyr-elf/include
> -iquote/home/zephyr-sdk-0.11.3/x86_64-zephyr-elf/x86_64-zephyr-elf/include
> -L/home/zephyr-sdk-0.11.3/x86_64-zephyr-elf/x86_64-zephyr-elf/lib
> -isystem/home/zephyr-sdk-0.11.3/x86_64-zephyr-elf/x86_64-zephyr-elf/include

The sysroot path should not include "/lib".



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux