Running programs on aarch64 simulator

Joel Sherrill <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAF9ehCVeEnnB4zO+A2ZzEfyZdpj=JWsPNoj0X6306DLn9ayvKA@mail.gmail.com>
Hi

Can someone please provide an example of how to compile a program to run on
the aarch64 simulator in gdb? The simple "aarch64-elf main.c -o main" does
not link and appears to be missing libgloss type symbols.

I asked on newlib but got no response. I'm hoping someone here knows.

Thanks.

--joel
RTEMS
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.