Re: LDFLAGS -nostdlib for arm-nuttx-elf?

2022-05-19 Thread Nathan Hartman
On Wed, May 18, 2022 at 1:32 PM Xiang Xiao wrote: > > -nostdlib is specific to clang/gcc toolchain, not specific to arm or elf. > Only gcc/clang toolchain add this flag, other toolchain(e.g. z80) still > keep as before. Okay that makes sense. Thanks for the explanation. Cheers, Nathan

Re: LDFLAGS -nostdlib for arm-nuttx-elf?

2022-05-18 Thread Xiang Xiao
-nostdlib is specific to clang/gcc toolchain, not specific to arm or elf. Only gcc/clang toolchain add this flag, other toolchain(e.g. z80) still keep as before. On Wed, May 18, 2022 at 8:59 PM Nathan Hartman wrote: > I noticed that we are unconditionally using: > > LDFLAGS += -nostdlib > > Is

LDFLAGS -nostdlib for arm-nuttx-elf?

2022-05-18 Thread Nathan Hartman
I noticed that we are unconditionally using: LDFLAGS += -nostdlib Is that correct when building with arm-nuttx-elf toolchain? Thanks, Nathan