This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Results for egcs-2.91.42 19980621 (gcc2 ss-980502 experimental) testsuite on sparc-sun-sunos4.1.3
- To: Craig Burley <burley at gnu dot org>
- Subject: Re: Results for egcs-2.91.42 19980621 (gcc2 ss-980502 experimental) testsuite on sparc-sun-sunos4.1.3
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 24 Jun 1998 15:35:37 -0300
- Cc: egcs at cygnus dot com
- References: <199806241515.LAA11786@melange.gnu.org>
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