This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [EXTERNAL] Re: How to test aarch64 when building a cross-compiler?
On Nov 27 2019, Andrew Dean via gcc wrote:
> 2. export LD_LIBRARY_PATH=${BuildRoot}/install/glibcs/aarch64-linux-gnu/lib64:${BuildRoot}/install/compilers/aarch64-linux-gnu/aarch64-glibc-linux-gnu/lib64
> 3. sudo ln -s ${BuildRoot}/install/glibcs/aarch64-linux-gnu/lib/ld-linux-aarch64.so.1 /lib/ld-linux-aarch64.so.1
Just set QEMU_LD_PREFIX to your sysroot.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."