"Dr A Olowofoyeku" wrote:
I now have the gcc sources for egcs-1.1.2 installed. I have run 'configure' successfully. When I run 'make', I see that some EXEs have been created in the 'gcc' subdirectory of the GCC source directory - 'cpp.exe' and 'cccp.exe' (which both seem to be the same file),
That's right, that's just two different names for the same thing (`C Pre-Processor' and `C-Compatible Compiler Preprocessor'). Of course, on a real OS they are hard links to the same inode, so they don't waste disk space twice...
and some '.o' files have also been created there. However, I finally get this output: "make[1]: *** No rule to make target `pascal', needed by `native'. Stop."
Nothing at all seems to have happened in the 'p' subdirectory of the GCC source directory. Now the questions:
1. Is egcs-1.1.2 okay for compiling GPC ?
I think so. I never used EGCS, so, Peter, correct me if I'm wrong.
2. If not, which version of GCC is okay? 3. If egcs-1.1.2 is okay, then any suggestions as to what I am doing wrong?
I don't know. Have you: - unpacked GCC and GPC sources from the original archives (not influenced by "round 1") - moved the GPC sources into the right directory (so there is, say, gcc.c in the "main" directory, and gpc.c in a directory called p below it), - run configure in the "main" directory, - been asked if the GCC patch should be applied (or run patch before configure), - run something like `make LANGUAGES=pascal CFLAGS=-O2 exeext=.exe'? If you like, send me a log (your input and the output of the commands -- not the files created), and I'll check it... Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html