| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4B3941D9.9070707@aol.com> |
| Date: | Mon, 28 Dec 2009 15:40:09 -0800 |
| From: | Tim Prince <n8tm AT aol DOT com> |
| Reply-To: | tprince AT computer DOT org |
| User-Agent: | Thunderbird 2.0.0.23 (Windows/20090812) |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: My"C" Compiled can't compile "{}" |
| References: | <4B381883 DOT 7030002 AT columbus DOT rr DOT com> <4B382F92 DOT 4000806 AT gmail DOT com> <4B38CE32 DOT 4070709 AT columbus DOT rr DOT com> |
| In-Reply-To: | <4B38CE32.4070709@columbus.rr.com> |
| X-AOL-IP: | 192.55.60.73 |
| X-AOL-SENDER: | N8TM AT aol DOT com |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
Paul McFerrin wrote:
> Well, after all of this discussion, my C compiler IS BROKEN. I.E.:
>
> echo "main{}" >test.c
> /usr/local/mysql-5/mysql-5.1.41.$ cc -O test.c
> test.c:1: error: expected =, ,, ;, asm or __attribute__ before { token
> /usr/local/mysql-5/mysql-5.1.41.$ echo "main(){}" >test.c
> /usr/local/mysql-5/mysql-5.1.41.$ cc -O test.c
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:
> crt0.o: No such file: No such file or directory
> collect2: ld returned 1 exit status
>
> My suggestion is to completely UNINSTALL C Compiler packages and
> restalled then. If others agree, could someome tell me which packages
> to uninstall? Your installation may be working, but mine isn't.
>
>
If I haven't been confused by the abysmal quoting style, you've
neglected the package find tool on the cygwin home page. This indicates
that the base cygwin runtime includes crt0.o (which appears in /usr/lib).
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |