This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


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

Re: gcc bug?


On Mon, Apr 02, 2001 at 03:22:04PM -0400, Tom Weichmann wrote:
>I was just compiling the latest Octave (2.1.33) with the latest 
>version of Cygwin, and got an error.  I then tried 2.1.31 which 
>has compiled without problem in the past, and received the same 
>error:
>
>c++  -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -I../glob -I../glob -
>HAVE_CONFIG_H -mieee-fp -fno-rtti -fno-exceptions -fno-implicit-
>templates -g -O
> -Wall -rdynamic \
>-L..   -fPIC  -o octave \
>octave.o builtins.o ops.o ../libcruft/blas-xtra/xerbla.o  balance.o  besselj.o
>betainc.o  chol.o  colloc.o  dassl.o  det.o  eig.o  expm.o  fft.o  fft2.o  filt
>r.o  find.o  fsolve.o  gammainc.o  getgrent.o  getpwent.o  getrusage.o  
>givens.
>  hess.o  ifft.o  ifft2.o  inv.o  log.o  lpsolve.o  lsode.o  lu.o  minmax.o  pi
>v.o  qr.o  quad.o  qz.o  rand.o  schur.o  sort.o  svd.o  syl.o  time.o \
>-L../liboctave -L../libcruft -L../src  \
>../src/liboctinterp.a ../liboctave/liboctave.a  ../libcruft/libcruft.a  ../read
>ine/libreadline.a ../kpathsea/libkpathsea.a ../glob/glob.o ../glob/fnmatch.o 
> \
> -lncurses  -lz -lm  -lg2c -L/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-1 -L/usr/li
>/mingw -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32
>c++: unrecognized option `-rdynamic'
>make[2]: Leaving directory `/usr/local/src/octave-2.1.33/src'
>make[1]: Leaving directory `/usr/local/src/octave-2.1.33'
>
>It seems as if gcc or more specificaly c++ is broke!  Anyone have 
>an idea?

Eliminate the -rdynamic option.  I don't see that this has ever been supported
by Cygwin gcc but I haven't specifically tested an older version.

If -rdynamic actually was accepted (I doubt that it did anything) in
older versions of gcc it was not removed by any patch that I applied to
gcc so undoubtedly this was done by the gcc 2.95.3 developers.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


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