public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* gcc 32-bit compiler returns error 1 immediately
@ 2018-03-16 15:18 Tim Clarke
  2018-03-16 16:13 ` Soegtrop, Michael
  2018-03-16 17:45 ` Marco Atzeri
  0 siblings, 2 replies; 3+ messages in thread
From: Tim Clarke @ 2018-03-16 15:18 UTC (permalink / raw)
  To: cygwin

I have installed the 64 verswon of gcc and it works fine
I also installed the 32 bit version on a 32-bit laptop and it
installs ok,  but when atteppting to comple any program with
gcc it simply returns eiimdiately without doing anything,
with return-code  1

I installed both versions the same way;  simply selected
the gcc-core packahe within gthe development section

I used the 32bit version some years ago with no problems,
so something seems to have changed !


--
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] 3+ messages in thread

* RE: gcc 32-bit compiler returns error 1 immediately
  2018-03-16 15:18 gcc 32-bit compiler returns error 1 immediately Tim Clarke
@ 2018-03-16 16:13 ` Soegtrop, Michael
  2018-03-16 17:45 ` Marco Atzeri
  1 sibling, 0 replies; 3+ messages in thread
From: Soegtrop, Michael @ 2018-03-16 16:13 UTC (permalink / raw)
  To: Tim Clarke, cygwin

Dear Tim,

do you compile c or c++ code (.cpp extension)?

As far as I can tell, you need "gcc-core" and "gcc-g++" if you want to compile c++ code - or at least this is what I install and it works (regularly tested with automated regression tests, which always install a fresh Cygwin) 

Best regards,

Michael
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Christian Lamprechter
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

--
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] 3+ messages in thread

* Re: gcc 32-bit compiler returns error 1 immediately
  2018-03-16 15:18 gcc 32-bit compiler returns error 1 immediately Tim Clarke
  2018-03-16 16:13 ` Soegtrop, Michael
@ 2018-03-16 17:45 ` Marco Atzeri
  1 sibling, 0 replies; 3+ messages in thread
From: Marco Atzeri @ 2018-03-16 17:45 UTC (permalink / raw)
  To: cygwin

On 16/03/2018 16:04, Tim Clarke wrote:
> I have installed the 64 verswon of gcc and it works fine
> I also installed the 32 bit version on a 32-bit laptop and it
> installs ok,  but when atteppting to comple any program with
> gcc it simply returns eiimdiately without doing anything,
> with return-code  1
> 

It seems some library is missing.
Try `cygcheck gcc` to check dependencies


Otherwise follow
Problem reports:       http://cygwin.com/problems.html

and provide the cygcheck.out

Regards
Marco

--
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] 3+ messages in thread

end of thread, other threads:[~2018-03-16 17:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-16 15:18 gcc 32-bit compiler returns error 1 immediately Tim Clarke
2018-03-16 16:13 ` Soegtrop, Michael
2018-03-16 17:45 ` Marco Atzeri

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).