Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
From: Frank Heckenbach
Subject: problems compiling gpc-20021128
Date: 22 Jan 2003, 16:06:54
Richard D. Jackson wrote: > I'm having some issues in getting gpc compiled following the directions > at http://www.gnu-pascal.de/gpc_42.html#SEC42 > > Here is what I have done and the results I'm getting. > > 1st attempt > used gcc-core-3.2.1.tar.gz & gpc-20021128.tar.gz The gcc-3 based GPC does not yet work with "dwarf2" debug info (which is the default on many platforms). Therefore you'll have to add `-g0' (no debug info at all) or `-gstabs' (which works on many systems). When testing, add it in EXTRA_TEST_PFLAGS on the make command line. > When I ran configure on this one I had one gpc patch fail to apply. > It was the bug url patch as the above gentoo patch had changed the url > to a gentoo url verses the gnu url so I fixed the gpc patch to reflect > the change and got a clean gpc patch. The same was reported with a GCC for Mac OS X patched by Apple. I think it should work directly if we change our diff to: *** gcc/system.h.orig Fri Oct 25 15:11:09 2002 --- gcc/system.h Mon Nov 25 15:30:37 2002 *************** *** 30,31 **** --- 30,36 ---- + #ifdef GPC + #undef GCCBUGURL + #define GCCBUGURL "<URL:http://www.gnu-pascal.de/todo.html>" + #endif + /* We must include stdarg.h/varargs.h before stdio.h. */ > Now on to running make. > > When Make ran I got this error which I have been unable to track down as > from what I can see it looks OK. > > In file included from > /var/tmp/portage/gcc-3.2.1-r6/work/gcc-3.2.1/gcc/p/gpc-common.c:27: > /var/tmp/portage/gcc-3.2.1-r6/work/gcc-3.2.1/gcc/p/gpc.h:667: > conflicting types for `global_trees' > /var/tmp/portage/gcc-3.2.1-r6/work/gcc-3.2.1/gcc/tree.h:1956: previous > declaration of `global_trees' > make[1]: *** [p/gpc-common.o] Error 1 We're aware of this problem (when using post-3.2.1 GCC's). It will be fixed in the next GPC alpha. If you want to try it now, just remove the following two lines: gpc.h: extern tree size_type_node; gpc-decl.c: tree size_type_node; Frank
Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
| Author | Subject | Date |
|---|---|---|
| Richard D. Jackson | problems compiling gpc-20021128 | 21 Jan 2003, 23:43:46 |
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).