File: ld77.sh

package info (click to toggle)
eso-midas 23.02pl1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 146,968 kB
  • sloc: ansic: 360,674; makefile: 6,231; sh: 6,003; pascal: 535; perl: 40; awk: 36; sed: 14
file content (9 lines) | stat: -rw-r--r-- 310 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
#!/bin/sh
# @(#)ld77.sh	19.1 (ESO-IPG) 02/25/03 14:31:59

# 
# Script to link Fortran with C in PC/Alpha using f2c 
# The script just rewrites the link command putting the arguments -lf2c -lm at
# the end. Otherwise the linker will report not resolve definitions 

exec cc `echo $* | sed 's/-o/-lf2c -lm -o/'`