For compiling, it's showed as fpc <compiler options> someunit.pas (or .pp).
For linking, depending on your platform, FPC may use internal linker or GNU ld. I'm not sure, but try adding -Cn. That way, you'll get ppas.bat (on Windows) and link.res (linker response file for GNU ld). Check ppas.bat for the commands.