Brook Milligan <br...@nmsu.edu> writes: > I am building software that targets an Arm board. When the OS is > NetBSD, I can use the cross-compiler created by build.sh to build > software for the board. > > However, I also need to build software for the same board but a > different OS, e.g., Debian. Can I use the same compiler? Is pointing > it to the appropriate headers/libraries with -I/-L sufficient? Are > there other tricks?
Perhaps, but you will likely also need some sort of --nostdinc and --sysroot.