This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc newbie question


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?
>

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]