mixed language programming with gnu pascal

Using gnu pascal, would it be easy/hard/impossible to link a pascal main
routine to a static object library created from fortran math subroutines
that have been converted to c by means of f2c?  The question arises
because most of the good public domain math code is in fortran.