Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
From: Frank Heckenbach
Subject: installation problems
Date: 19 Oct 2001, 01:19:54
Oldham, Adam wrote: > I am using Mandrake Linux with kernel 2.4.8. It had the wonderful version > of gcc 2.96 installed on it stock. I've since downgraded to gcc 2.95.3. > I've downloaded gpc-20010924, and installed it the regular old way I've > installed all the other version of GPC I've gotten the past 2 years. It > installs fine, into /usr just like gcc. > > I can compile files with no problem as well. I compile all my pascal files > to only create object files, no other parameters from the command line. > When linking all these objects together statically, I get a few errors like > this: > /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/libgpc.a(rts.o): In function > `_p_Real_Sin': > /v/oldham/gcc-2.95.3/gcc/p/rts/rts.c:642: undefined reference to `sin' > > I get the same thing for the functions cos, log, pow, sinl, cosl, logl, > expl, powl, sinh, cosh. I've researched this some, and linking the -lm > (math library) while performing my link does not help this. Can anyone help > at all with this in particular? How you do link? Do you call gpc, gcc, or ld directly? What command line? Does it work if you just compile and link with GPC (--automake)? Does the linker command line you see with `-v' help you? ... I think I mentioned once or twice in the past few days that I'd prefer complete reports ... :-( > Should GPC have linked -lm while it was building? No, it's not the gpc executable, but your program executable that needs -lm. Marco van de Voort wrote: > > Should GPC have linked -lm while it was building? And if so, can someone > > help me find where that is. I've been looking at this for hours now. > > Sounds like not linked with libgcc, or wrong (out of sync) version. No, libm is quite independent of libgcc. Frank
Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
| Author | Subject | Date |
|---|---|---|
| Oldham, Adam | installation problems | 18 Oct 2001, 16:03:34 |
| Marco van de Voort | installation problems | 18 Oct 2001, 23:49:10 |
Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.
Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.
This page was created by Crystal 0.999 (Linux 2.4.27/i686).