delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/19/02:20:31

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
X-Sent: 19 Feb 2001 07:19:33 GMT
From: "Kevin Wright" <kevin AT wright DOT org>
To: "George Jenner" <GeorgeJ AT wmpl DOT com DOT au>, <cygwin AT cygwin DOT com>
Subject: RE: New user help - dont understand Mount (and the rest)
Date: Sun, 18 Feb 2001 23:18:07 -0700
Message-ID: <000a01c09a3b$b96c14b0$7074aa40@holstein-mobile.ASPECTDV.COM>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
In-Reply-To: <sa9117a5.027@wmpl.com.au>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700
Importance: Normal

Here's a way to create dll's in a makefile:

OBJS=foo
BASE=foo

gcc -shared -o lib$(BASE).dll -Wl,--out-implib=lib$(BASE).dll.a \
    -Wl,--export-all -Wl,--enable-auto-image-base  \
    -Wl,--output-def=lib$(BASE)_.def $(OBJS) 


If you're still having problems. Trying pasting the output of 
cygcheck -s -v -r to an email and sending it to the list.

HTH,

--Kevin
> -----Original Message-----
> From: cygwin-owner AT sources DOT redhat DOT com
> [mailto:cygwin-owner AT sources DOT redhat DOT com]On Behalf Of George Jenner
> Sent: Sunday, February 18, 2001 6:55 PM
> To: cygwin AT cygwin DOT com
> Subject: New user help - dont understand Mount (and the rest)
> 
> 
> Hi,
> 
> I'm sure my problem is simple so I've tried to work it out using 
> online docs, but I'm not a Unix user and feel I'm drowning in its arcana.
> 
> I've downloaded Cygwin and compiled and run a simple program.  OK.
> 
> Then I went onto more serious things and tried to compile to a 
> dll (which is the reason I want to use it).
> 
> I'm trying things from docs and this list (eg gcc -s 
> -Wl,--base-file,mydll.base -o mydll.dll mydll.o 
> -Wl,-e,_mydll_init AT 12 ) [not that I've worked out what all of it means]
> 
> Compiler then tells me it can't find ld.exe - I see it's looking 
> in /usr/bin......, but this file is in /bin
> 
> In screwing around with mount to get it to look in the right 
> place I've made everything worse, and now nothing happens.
> 
> I think I'll reinstall to get back to the beginning, but what do 
> I have to do to make the compiler look in the right place?  Is 
> there a place to look for  a person that's never heard of posix?
> 
> Thanks
> Geo
> 
> George Jenner
> Wilkinson Murray Pty Ltd
> www.wmpl.com.au
> +612  94374611
> 
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
> 
> 

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019