gcc newbie question
Tue Dec 4 02:47:00 GMT 2001
Myriam Abramson wrote:
> I need to make a dll.
> I do
> gcc -Wl, shared -o foo.dll foo.o
> 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?
The long line up there represents the following path:
So the question is - is ld.exe in this folder ? If not - install
the binutils package. As about the ld.exe in /bin - maybe it's
just a link. Btw you can try to run it to see what happens.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
More information about the Cygwin