For ECL, we could probably detect that cross-compilation is going on and suppress library loading there. Maybe?
Problematic situation #2 seems trickier. As you mentioned, SBCL wants the foreign function to be available at compiler/load time. Perhaps we can add an ignore restart to the load-foreign-library error?
For ECL, we could probably detect that cross-compilation is going on and suppress library loading there. Maybe?
Problematic situation #2 seems trickier. As you mentioned, SBCL wants the foreign function to be available at compiler/load time. Perhaps we can add an ignore restart to the load-foreign- library error?