Thanks for your reply Chief.
The command: gpc -print-file-name=crtbegin.o gives: crtbegin.o
I also decided to go back to basics. You helped me do some C to Pascal, Pascal to C examples a couple of years ago (http://www.staff.ncl.ac.uk/chris.hicks/programming.htm). These all worked at the time. When I get these sorted I will go back to the XView problem.
I tried one of the Pascal calls C programs that passes a string and that failed with the same error message:
$ make gpc -o pcallc pcallc.p ccall.o --cstrings-as-strings /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/ld: crtbegin.o: No such file: No such file or directory make: *** [pcallc] Error 1
Which version of Pascal would you recommend? I looked at http://www.gnu-pascal.de/binary/cygwin/ and found the most recent one in binary is gpc-20041017, based on gcc-3.3.3.
gcc -v on my installation gives:
$ gcc -v Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs Configured with: /gcc/gcc-3.4.4/gcc-3.4.4-1/configure --verbose --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,java,objc --enable-nls --without-included-gettext --enable-version-specific-runtime-libs --without-x --enable-libgcj --disable-java-awt --with-system-zlib --enable-interpreter --disable-libgcj-debug --enable-threads=posix --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug : (reconfigured) Thread model: posix gcc version 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
Is gpc compatible with the 3.4.4?
Thanks again for your help.
Chris.
On 28 Dec 2005 at 19:24, Chris Hicks wrote:
Thanks for your reply Chief.
The command: gpc -print-file-name=crtbegin.o gives: crtbegin.o
As you have now discovered, that means that the file does not exist. If it existed, you would have been given the full path to it. This is a basic installation problem.
[...]
Is gpc compatible with the 3.4.4?
The latest snapshot (20051116) is.
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/