Should anyone be interested in this, it'll probably be much easier and make more sense to package qb64 instead of freebasic: http://www.qb64.net/