Assuming your a: drive is mounted at /mnt/floppy
Code:
gcc filetocompile.c &> /mnt/floppy/errors
Thats the simplist route I can see, since "errors" will only have content when something
goes wrong, unless of course you use a switch like -v , in that case all messages will be
sent to "errors".