This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Results for egcs-2.91.42 19980621 (gcc2 ss-980502 experimental) testsuite on sparc-sun-sunos4.1.3


Craig Burley <burley@gnu.org> writes:

>> FAIL: g77.f-torture/execute/cabs.f execution,  -O0 

> Could somebody with a SunOS 4.1.3 (or 4.1.x, I guess) system look
> into this?

oliva@atibaia% egcsc cabs.f -lg2c    
/n/temp1/gcctest/egcs/SunOS-4.1.3/lib/gcc-lib/sparc-sun-sunos4.1.3/egcs-2.91.42/libg2c.a(cabs.o): In function `f__cabs':
/n/temp1/gcctest/bin/../src/egcs/libf2c/libF77/cabs.c:25: undefined reference to `sqrt'
collect2: ld returned 1 exit status
oliva@atibaia% egcsc cabs.f -lg2c -lm
oliva@atibaia% ./a.out    

Does anyone know how we can add `-lm' to the link command of this test
program, iff libm exists?

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]