------- Comment #15 from kargl at gcc dot gnu dot org  2007-11-26 23:29 -------
(In reply to comment #13)
> When I compile the following program under FreeBSD using the November 23
> snapshot of gfortran:
> 
> PROGRAM pgamma
> y = gamma(x)
> END PROGRAM pgamma
> 
> I get the message:
> 
> /var/tmp//ccuAsOud.o(.text+0x1f): In function `MAIN__':
> : undefined reference to `tgammaf'
> collect2: ld returned 1 exit status
> 
> Is this the intended behavior?

Works for me.

troutmask:sgk[223] gc4x -o z a.f90
troutmask:sgk[224] nm z | grep gamma
0000000000416060 T tgamma
0000000000403b10 T tgammaf
troutmask:sgk[225] gfc4x -v
Using built-in specs.
Target: x86_64-unknown-freebsd8.0
Configured with: ../gcc4x/configure --prefix=/home/sgk/work/4x
--enable-languages=c,fortran
Thread model: posix
gcc version 4.3.0 20071126 (experimental) (GCC) 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33583

Reply via email to