Mail Archives: cygwin/2001/02/19/02:20:31
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 -