Gayle Lee Fairless wrote:
I installed Cygwin onto an Alienware M17x-R3 running Windows 7 and
also downloaded various files from http://www.gnu-pascal.de/ to add Pascal to the list of compilers.
<snip>
However I have been unable to install Gnu Pascal Compiler although I believe I have followed the instructions in the manual. I have tried both software installation and direct use of a binary file.
I have gpc source files, too. I also downloaded the source files for gcc 3.2.3 and gcc 3.4.3 because the manual seems to indicate that I should compile against a version that produces a standard compiler. I have the gpc source file: gpc-20060325/.
I got as far as the makeinfo file in the manual. Here is the tail of a verbose output from makeinfo:
<snip>
*** Configuration x86_64-unknown-cygwin not supported
This say it all: 64-bit support on Windows is relatively recent, and not present in gcc-3.4.3. I am not aware of any person that build GNU Pascal on Windows in 64-bit mode. All were using 32-bit mode.
Should I specify a different host, target, etc.?
What ingredients am I missing to complete the recipe?
Existing Cygwin binaries are 32-bit mode. You may want to check gcc-4.1.1 which is the newest GCC version that works well with GNU Pascal, however it looks that for 64-bit support on Windows you need newer version. So either you find a way to install 32-bit Pascal on your machine, or you do hard work needed to get GNU Pascal running with newer GCC.
Assuming that you want just to use GNU Pascal you need to know how to install 32-bit compiler on your system. If you installed Cygwin just to run GNU Pascal, then simplest way may be to install 32-bit Cygwin (which may require deinstalling 64-bit Cygwin and may have its own problems). I do not know how good is 64-bit Cygwin at running 32-bit programs, at least you need to install 32-bit versions of basic libraries.
Let me add that your problem is specific to 64-bit Cygwin. I am not Windows/Cygwin user so I can not give you full answer.