I'm setting up a bunch of machines as embedded systems, and need perl installed on them. I'm preparing the images for the systems on a redhat 7.2 box with uclibc installed. I've cross-compiled several other programs (busybox, tinylogin, isc dhcp client) succesfully, but I can't figure out how to tell perl that it's cross compiling. I've tried
while pointing at the correct gcc, but it still tries (and fails miserably) to run the test apps compiled for uclibc.
Any suggestions?