Do you mean compile a dll for linux on windows, or compile a dll for windows on linux? Linux doesn't have .dll but it has .so files. You can however compile .dll files with it if you install mingw. If you want to make a dll for samp or GTA then you'll need a 32 bit version, so look for mingw32. If you can give some clarification I might be able to help you.