Long answer: I have never attempted this, so I don't know if there is a way to do this. However, if you look at the specifications for your Adams installation (HW-SW specification in the install guide), it specifically mention the version of compilers you need to use for your subroutines.
The Adams script requires FORTRAN to be installed, but if you only need to compile C-routines you can work around this. Set the following environment variable: set NO_FORTRAN=1
Long answer: I have never attempted this, so I don't know if there is a way to do this. However, if you look at the specifications for your Adams installation (HW-SW specification in the install guide), it specifically mention the version of compilers you need to use for your subroutines.
The Adams script requires FORTRAN to be installed, but if you only need to compile C-routines you can work around this. Set the following environment variable: set NO_FORTRAN=1