| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Message-ID: | <002c01c02a34$0ec5e490$acd0e218@sh.cgocable.ca> |
| From: | "Ian Trudel" <ian DOT trudel AT tr DOT cgocable DOT ca> |
| To: | "Cygwin ML" <cygwin AT sourceware DOT cygnus DOT com> |
| Subject: | Problems with GNU Objective-C |
| Date: | Fri, 29 Sep 2000 12:41:03 -0400 |
| MIME-Version: | 1.0 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Mailer: | Microsoft Outlook Express 5.00.2919.6600 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2919.6600 |
Hello,
I really need to compile my Objective-C program so they don't depend on
Cygwin's DLL. The FAQ talk about -mno-cygwin flag, which works fine with my
C programs but does not with my Objective-C ones.
I've included a sample of the output:
administrateur AT MECENIA ~
$ gcc hw.m -lobjc -mwindows -mno-cygwin -o hw.exe
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libobjc.a(archive.o)(.text+0x1c4e):ar
chive.c: undefined reference to `_imp___ctype_'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libobjc.a(archive.o)(.text+0x25ce):ar
chive.c: undefined reference to `_imp___ctype_'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libobjc.a(archive.o)(.text+0x2a85):ar
chive.c: undefined reference to `_imp___ctype_'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libobjc.a(archive.o)(.text+0x3475):ar
chive.c: undefined reference to `_imp___ctype_'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libobjc.a(misc.o)(.text+0x86):misc.c:
undefined reference to `_impure_ptr'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libobjc.a(selector.o)(.text+0x264):se
lector.c: undefined reference to `_imp___ctype_'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libobjc.a(encoding.o)(.text+0x1f9):en
coding.c: undefined reference to `_imp___ctype_'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libobjc.a(encoding.o)(.text+0x24f):en
coding.c: undefined reference to `_imp___ctype_'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libobjc.a(encoding.o)(.text+0x542):en
coding.c: undefined reference to `_imp___ctype_'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libobjc.a(encoding.o)(.text+0x882):en
coding.c: undefined reference to `_imp___ctype_'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libobjc.a(encoding.o)(.text+0x8b2):en
coding.c: more undefined references to `_imp___ctype_' follow
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libgcc.a(_eprintf.o): In function
`_eprintf':
/cygnus/netrel/src/gcc-2.95.2-2/gcc/libgcc2.c(.text+0x151): undefined
reference to `_impure_ptr'
collect2: ld returned 1 exit status
here's my system informations:
administrateur AT MECENIA ~
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/specs
gcc version 2.95.2 19991024 (release-2)
running on Microsoft Windows NT 4.0, SP6a high-encryption.
I don't know what to do, is there any solution or fix?
thanks,
Ian
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |