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



  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


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