public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* gcc4.7.2 cc1 error while loading shared libraries
@ 2013-06-19  5:56 Arthur Tu
  2013-06-19  6:01 ` Arthur Tu
  2013-06-19  6:06 ` Yaakov (Cygwin/X)
  0 siblings, 2 replies; 4+ messages in thread
From: Arthur Tu @ 2013-06-19  5:56 UTC (permalink / raw)
  To: cygwin

$ gcc-4 --version
gcc-4 (GCC) 4.7.2

$ gcc-3 --version
gcc-3 (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)

$ gcc-4 helloWorld.c
/usr/lib/gcc/i686-pc-cygwin/4.7.2/cc1.exe: error while loading shared 
libraries: ?: cannot open shared object file: No such file or directory

$ gcc-3 helloWorld.c
*(success)

$ cygcheck -c|grep gcc
gcc                                      3.4.4-999            OK
gcc-core                                 3.4.4-999            OK
gcc-g++                                  3.4.4-999            OK
gcc-mingw-core                           20050522-3           OK
gcc-mingw-g++                            20050522-3           OK
gcc4                                     4.7.2-2              OK
gcc4-core                                4.7.2-2              OK
gcc4-g++                                 4.7.2-2              OK
libgcc1                                  4.7.2-2              OK
mingw64-i686-gcc-core                    4.5.3-6              OK
mingw64-x86_64-gcc-core                  4.5.3-6              OK



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc4.7.2 cc1 error while loading shared libraries
  2013-06-19  5:56 gcc4.7.2 cc1 error while loading shared libraries Arthur Tu
@ 2013-06-19  6:01 ` Arthur Tu
  2013-06-19  6:06 ` Yaakov (Cygwin/X)
  1 sibling, 0 replies; 4+ messages in thread
From: Arthur Tu @ 2013-06-19  6:01 UTC (permalink / raw)
  To: cygwin

I found this http://cygwin.com/ml/cygwin/2010-10/msg00063.html.

And call cc1.exe from windows native console.

It reported that cygwin1.dll is missing.

However, cygwin1.dll do exist in /bin/, and $CYGWIN/bin/ is in my 
windows path.

On 6/19/2013 1:40 PM, Arthur Tu wrote:
> $ gcc-4 --version
> gcc-4 (GCC) 4.7.2
>
> $ gcc-3 --version
> gcc-3 (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
>
> $ gcc-4 helloWorld.c
> /usr/lib/gcc/i686-pc-cygwin/4.7.2/cc1.exe: error while loading shared 
> libraries: ?: cannot open shared object file: No such file or directory
>
> $ gcc-3 helloWorld.c
> *(success)
>
> $ cygcheck -c|grep gcc
> gcc                                      3.4.4-999            OK
> gcc-core                                 3.4.4-999            OK
> gcc-g++                                  3.4.4-999            OK
> gcc-mingw-core                           20050522-3           OK
> gcc-mingw-g++                            20050522-3           OK
> gcc4                                     4.7.2-2              OK
> gcc4-core                                4.7.2-2              OK
> gcc4-g++                                 4.7.2-2              OK
> libgcc1                                  4.7.2-2              OK
> mingw64-i686-gcc-core                    4.5.3-6              OK
> mingw64-x86_64-gcc-core                  4.5.3-6              OK
>
>


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc4.7.2 cc1 error while loading shared libraries
  2013-06-19  5:56 gcc4.7.2 cc1 error while loading shared libraries Arthur Tu
  2013-06-19  6:01 ` Arthur Tu
@ 2013-06-19  6:06 ` Yaakov (Cygwin/X)
  2013-06-19  6:13   ` Arthur Tu
  1 sibling, 1 reply; 4+ messages in thread
From: Yaakov (Cygwin/X) @ 2013-06-19  6:06 UTC (permalink / raw)
  To: cygwin

On 2013-06-19 00:40, Arthur Tu wrote:
> $ gcc-4 --version
> gcc-4 (GCC) 4.7.2
>
> $ gcc-4 helloWorld.c
> /usr/lib/gcc/i686-pc-cygwin/4.7.2/cc1.exe: error while loading shared
> libraries: ?: cannot open shared object file: No such file or directory

For now, this version of gcc requires test versions of most of its 
dependencies.  You need to either install those as well, or temporarily 
downgrade to 4.5.3 until 4.7.3 is stabilized (should be a matter of days).


Yaakov



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc4.7.2 cc1 error while loading shared libraries
  2013-06-19  6:06 ` Yaakov (Cygwin/X)
@ 2013-06-19  6:13   ` Arthur Tu
  0 siblings, 0 replies; 4+ messages in thread
From: Arthur Tu @ 2013-06-19  6:13 UTC (permalink / raw)
  To: cygwin

Thanks

On 6/19/2013 2:01 PM, Yaakov (Cygwin/X) wrote:
> On 2013-06-19 00:40, Arthur Tu wrote:
>> $ gcc-4 --version
>> gcc-4 (GCC) 4.7.2
>>
>> $ gcc-4 helloWorld.c
>> /usr/lib/gcc/i686-pc-cygwin/4.7.2/cc1.exe: error while loading shared
>> libraries: ?: cannot open shared object file: No such file or directory
>
> For now, this version of gcc requires test versions of most of its 
> dependencies.  You need to either install those as well, or 
> temporarily downgrade to 4.5.3 until 4.7.3 is stabilized (should be a 
> matter of days).
>
>
> Yaakov
>
>
>
> -- 
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-06-19  6:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-19  5:56 gcc4.7.2 cc1 error while loading shared libraries Arthur Tu
2013-06-19  6:01 ` Arthur Tu
2013-06-19  6:06 ` Yaakov (Cygwin/X)
2013-06-19  6:13   ` Arthur Tu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).