ARM64 cross-compiler and --sysroot GNU C option.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

ARM64 cross-compiler and --sysroot GNU C option.

Karel Gardas


just for fun I've built GHC cross-compiler for ARM64 platform using LLVM
backend. I've documented it here:

and I'm writing here just to ask if you think adding --with-gcc-sysroot
option (or kind of it) to GHC's configure may be a good idea or not
(i.e. you consider using shell script wrapper which passes --sysroot
option to the GNU C cross compiler perfectly adequate for this job --
like I did in blog post above). See also #7754 which shows the same problem.