Skip to content

Command to compile test program linux

Karl Tarbet edited this page Mar 11, 2021 · 1 revision

#!/bin/bash

example for RHEL

cc -m64 -c -fPIC -g -std=gnu99 -I../heclib/headers -I ../../heclib/headers test.c cc -m64 -fPIC test.o ../heclib/Output/heclib.a -o test -lz -lrt -lgfortran -lm

Clone this wiki locally