delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
To: | cygwin AT cygwin DOT com |
Subject: | [Pavel Tsekov <ptsekov AT syntrex DOT com>] Re: gcc newbie question |
From: | Myriam Abramson <abramson AT aic DOT nrl DOT navy DOT mil> |
Date: | 04 Dec 2001 11:46:12 -0500 |
Message-ID: | <cdvgfngch7.fsf@sun23.i-did-not-set--mail-host-address--so-shoot-me> |
Lines: | 71 |
User-Agent: | Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
MIME-Version: | 1.0 |
thanks! --=-=-= Content-Type: message/rfc822 Content-Disposition: inline X-From-Line: ptsekov AT syntrex DOT com Tue Dec 4 11:40:24 2001 Return-Path: <ptsekov AT syntrex DOT com> Received: from itd.nrl.navy.mil (shell.itd.nrl.navy.mil [132.250.83.3]) by sun0.aic.nrl.navy.mil (8.9.3+Sun/8.9.3) with ESMTP id LAA19376 for <abramson AT aic DOT nrl DOT navy DOT mil>; Tue, 4 Dec 2001 11:40:23 -0500 (EST) Received: from syntrex.com (212-41-210-71.adsl.galactica.it [212.41.210.71]) by itd.nrl.navy.mil (8.8.8/8.8.8) with SMTP id LAA29009 for <abramson AT aic DOT nrl DOT navy DOT mil>; Tue, 4 Dec 2001 11:40:19 -0500 (EST) Received: (qmail 12518 invoked by uid 8); 4 Dec 2001 16:40:10 -0000 Received: from UNKNOWN (192.168.2.50, claiming to be "syntrex.com") by mail.syntrex.com with SMTP id smtpdG92tlr; Tue, 04 Dec 2001 11:40:01 EST Sender: ptsekov AT itd DOT nrl DOT navy DOT mil Message-ID: <3C0CFC2B DOT 7EFF34 AT syntrex DOT com> Date: Tue, 04 Dec 2001 17:39:07 +0100 From: Pavel Tsekov <ptsekov AT syntrex DOT com> X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en To: Myriam Abramson <abramson AT aic DOT nrl DOT navy DOT mil> Subject: Re: gcc newbie question References: <cdn110j5lf DOT fsf AT sun23 DOT i-did-not-set--mail-host-address--so-shoot-me> <3C0CEEE9 DOT 89B52C5B AT syntrex DOT com> <cdd71vhrqk DOT fsf AT sun23 DOT i-did-not-set--mail-host-address--so-shoot-me> Lines: 38 Xref: sun23 mail.general:1249 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Myriam Abramson wrote: > > Great! that works now. Thanks *so* much. I am getting a bunch of > undefined references however. I usually link this program with -lnsl > and -lsocket but those libraries do not exist so what to do? try adding -lwsock32 :) And please post to the list not my personal e-mail - I read the list and so do many others :) > > > Myriam Abramson wrote: > > > > > > Hi! > > > > > > I need to make a dll. > > > > > > I do > > > gcc -Wl, shared -o foo.dll foo.o > > ^ > > +-------------+ > > Is this a space here ? -+ > > > > Remove it! :) > > > > > > But I get the following error: > > > > > > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: cannot open : No such file or directory > > > collect2: ld returned 1 exit status > > > > > > ld exists in /bin/ld so what's wrong? > > > > > -- > > myriam -- myriam --=-=-= Content-Type: text/plain; charset=us-ascii -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ --=-=-=--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |