Re: finding recipe for x86_64 or x86 or Cygwin or MingW or whatever will

Gayle Lee Fairless <[email protected]>
Newsgroups gmane.comp.compilers.gpc
Message-ID <[email protected]>
On 1/21/2015 2:34 AM, Prof Abimbola Olowofoyeku wrote:
> On 21 Jan 2015 at 1:59, Gayle Lee Fairless wrote:
>
> [...]
>> I used the gpc-20070904-with-gcc.i686-pc-cygwin.tar.gz file.
>>
>> gayle@weirdcat ~
>> $ uname -a
>> CYGWIN_NT-6.1 weirdcat 1.7.33-2(0.280/5/3) 2014-11-13 15:47 x86_64
>> Cygwin
>>
>> It did not run on the x86_64 version as already noted.
> It won't work unless you have a 32-bit version of cygwin installed. It 
> requires the 32-bit cygwin "system" DLLs.
>
>> gayle@RumpusCat ~
>> $ gpc
>> /usr/bin/gpc.exe: error while loading shared libraries: cygintl-3.dll:
>> cannot open shared object file: No such file or directory
> Hmmm ... that shouldn't be needed. You should really only need the 
> 32-bit cygwin1.dll. Possibly it is needed only for internationalisation 
> (in which case cygiconv-2.dll would also be needed). You should be able 
> to find these files in an old installation of cygwin-32. I obviously 
> have them, but I can't send them to this list.
>
>>     Here is the result from the i686 version.  I put the os-hacks.h into
>> /usr/include directory.  Is this sufficient, or are there other
>> directories to hunt down?
> os-hacks.h is only needed if you are trying to build the gpc compiler 
> itself (in which case, the include directory is indeed where it should 
> be). It is not needed in order to use gpc.
>
>> gayle@RumpusCat ~
>> $
>>
>> gayle@RumpusCat ~/Documents
>> $ uname -a
>> CYGWIN_NT-6.1-WOW64 RumpusCat 1.7.33-2(0.280/5/3) 2014-11-13 15:45 i686
>> Cygwin
>>
>> gayle@RumpusCat ~/Documents
>> $ gpc-run --version
>> gpc-run 20070904
>> Copyright (C) 2001-2006 Free Software Foundation, Inc.
>>
>> I got the preceding result from gpc-run on both versions.  Perhaps it
>> works just fine on both versions?
> What is the output of "gpc -v" ?
>  
>> What do I need to do about shared libraries and/or cygintl-3.dll?
> See above. They need to be in a directory in the PATH (the best is 
> cygwin/bin, which is where they would be expected to be).
>
> Best regards, The Chief
> --------
> Prof. Abimbola A. Olowofoyeku (The African Chief) 
> web:  http://www.greatchief.plus.com/
>
>
> _______________________________________________
> Gpc mailing list
> [email protected]
> https://www.g-n-u.de/mailman/listinfo/gpc
gayle@RumpusCat ~
$ gpc --version
/usr/bin/gpc.exe: error while loading shared libraries: cygintl-3.dll:
cannot open shared object file: No such file or directory

gayle@RumpusCat ~
$ gpc.exe --version
/usr/bin/gpc.exe: error while loading shared libraries: cygintl-3.dll:
cannot open shared object file: No such file or directory

gayle@RumpusCat ~
$ gpc.exe -v
/usr/bin/gpc.exe: error while loading shared libraries: cygintl-3.dll:
cannot open shared object file: No such file or directory

gayle@RumpusCat ~
$ gpc-run --version
gpc-run 20070904
Copyright (C) 2001-2006 Free Software Foundation, Inc.

gayle@RumpusCat ~
$
The gpc.exe does not respond to a version request.

Also, the 64-bit  C program won't run although the same file compiled by
the 32-bit gcc does run.  As noted, gcc version is 4.9.2 on both.


_______________________________________________
Gpc mailing list
[email protected]
https://www.g-n-u.de/mailman/listinfo/gpc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.