suppose i need to install a driver on an embedded system(that has no compiler) and i have a virtual machine that emulates the same architecture.. whats the procedure for installing a new driver?

thanks