Hello,
The following information I dare to send to the list as requested bei "The Chief":
The used distribution is SuSE-linux 13.2 Harlequin, last updated 28th of March, 2016 CPU is Athlon 64 3200+, memory: 3G. uname -a says:Linux scaleo 3.16.7-35-desktop #1 SMP PREEMPT Sun Feb 7 17:32:21 UTC 2016 (832c776) x86_64 x86_64 x86_64 GNU/Linux
I started the compilation in a separate directory with contents:
-rw-r--r-- 1 senior users 34539 4. Sep 2007 crtdemo.pas -rw-r--r-- 1 senior users 4601 29. Mär 12:54 list-of-rpm.txt
compilation command:
gpc --automake -ocrt crtdemo.pas 2>&1 | tee errlist.txt
contents of the directory after this: -rw-r--r-- 1 senior users 34539 4. Sep 2007 crtdemo.pas -rw-r--r-- 1 senior users 414287 29. Mär 13:03 crt.gpi -rw-r--r-- 1 senior users 36246 29. Mär 13:03 errlist.txt -rw-r--r-- 1 senior users 816896 29. Mär 13:03 gpc-all.gpi -rw-r--r-- 1 senior users 13138 29. Mär 13:03 gpc_bp.gpi -rw-r--r-- 1 senior users 851 29. Mär 13:03 gpc_cp.gpi -rw-r--r-- 1 senior users 30572 29. Mär 13:03 gpc_delphi.gpi -rw-r--r-- 1 senior users 851 29. Mär 13:03 gpc_ep.gpi -rw-r--r-- 1 senior users 872729 29. Mär 13:03 gpc.gpi -rw-r--r-- 1 senior users 1592 29. Mär 13:03 gpc.o -rw-r--r-- 1 senior users 4601 29. Mär 12:54 list-of-rpm.txt
To keep the appended tar-file smaller I delete all .gpi files, hope that is ok.!
The appended tar-file contains a list of the contents of the installed GPC- .rpm, generated by: rpm -qlp gpc-20070904-185.1.x86_64.rpm >list-of-rpm.txt
That rpm-file was downloaded from: "https://openSUSEBuildService%3EProjects%3Ehome:TrevorBl%3Egpc%3EBinaries gpc-20070904-185.1.x86_64.rpm"
Hope this is the needed information.
Thank you so far, and sorry again: no c-knowledge, no c-experience
Mathias Uhle
Have you got a gcc C compiler installed?
The following commands should both work.
gcc -c /usr/local/lib/gcc/x86_64-unknown-linux-gnu/3.4.6/units/crtc.c gpc -c /usr/local/lib/gcc/x86_64-unknown-linux-gnu/3.4.6/units/crtc.c
Yes, gcc is installed and and was, when performing the reported tests. It answers the request for its version:
~> gcc -v answers: COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.8/lto-wrapper Target: x86_64-suse-linux Configured with: ../configure --prefix=/usr --infodir=/usr/share/info -- mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable- languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release -- with-gxx-include-dir=/usr/include/c++/4.8 --enable-ssp --disable-libssp -- disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with- system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable- libstdcxx-pch --enable-version-specific-runtime-libs --enable-linker-build-id --enable-linux-futex --program-suffix=-4.8 --without-system-libunwind --with- arch-32=i586 --with-tune=generic --build=x86_64-suse-linux --host=x86_64-suse- linux Thread model: posix gcc version 4.8.3 20140627 [gcc-4_8-branch revision 212064] (SUSE Linux)
1. suggested Command: senior@scaleo: ~> gcc -c /usr/local/lib/gcc/x86_64-unknown-linux-gnu/3.4.6/units/crtc.c
simply does not find panel.h:
/usr/local/lib/gcc/x86_64-unknown-linux-gnu/3.4.6/units/crtc.c:126:19: fatal error: panel.h: Datei oder Verzeichnis nicht gefunden #include <panel.h>
2. suggested Command: senior@scaleo: ~> gpc -c /usr/local/lib/gcc/x86_64-unknown-linux-gnu/3.4.6/units/crtc.c
answer: /usr/local/lib/gcc/x86_64-unknown-linux-gnu/3.4.6/units/crtc.c:126:19: panel.h: Datei oder Verzeichnis nicht gefunden Thereafter following a bunch of further errormessages, which are - I think - not of interest so far.
Thank you, Mathias Uhle
Am Dienstag, 29. März 2016, 12:51:20 schrieb Peter:
Have you got a gcc C compiler installed?
The following commands should both work.
gcc -c /usr/local/lib/gcc/x86_64-unknown-linux-gnu/3.4.6/units/crtc.c gpc -c /usr/local/lib/gcc/x86_64-unknown-linux-gnu/3.4.6/units/crtc.c
Gpc mailing list Gpc@gnu.de https://www.g-n-u.de/mailman/listinfo/gpc
On 29/03/16 13:22, mathias uhle wrote:
- suggested Command: senior@scaleo:
~> gcc -c /usr/local/lib/gcc/x86_64-unknown-linux-gnu/3.4.6/units/crtc.c
simply does not find panel.h:
Thats the problem then! You need to install panel.h Its probably part of your distro's ncurses development package.
FWIW, my Ubuntu gpc packages have a recommends on libncurses5-dev
Peter