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: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Subject: Re: Results for egcs-2.91.42 19980621 (gcc2 ss-980502 experimental) testsuite on sparc-sun-sunos4.1.3
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 24 Jun 1998 21:00:31 -0600
- cc: Craig Burley <burley at gnu dot org>, egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <orzpf2d4w6.fsf@zecarneiro.lsd.dcc.unicamp.br>you write:
> 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?
Not that I'm aware of.
We should probably just add -lm all the time. I'd be amazed if systems
without libm would even get far enough to try running the testsuite :-)
jeff