RE: Possible error in http://cygwin.com/cygwin-ug-net/dll.html

2007-08-24 Thread Dave Korn
On 24 August 2007 15:21, Keith Christian wrote: > This line in http://cygwin.com/cygwin-ug-net/dll.html seems to have an error: > > gcc -o myprog myprog.ca -L./ -lmydll > --^ > > It seems it should be: > > gcc -o myprog myprog.c -L./ -lmydll > > Using "myprog.c" instead of

Re: Possible error in http://cygwin.com/cygwin-ug-net/dll.html

2007-08-24 Thread Christopher Faylor
On Fri, Aug 24, 2007 at 07:20:55AM -0700, Keith Christian wrote: >This line in http://cygwin.com/cygwin-ug-net/dll.html seems to have an error: > >gcc -o myprog myprog.ca -L./ -lmydll >--^ > >It seems it should be: > >gcc -o myprog myprog.c -L./ -lmydll > >Using "myprog.c" inste

Possible error in http://cygwin.com/cygwin-ug-net/dll.html

2007-08-24 Thread Keith Christian
This line in http://cygwin.com/cygwin-ug-net/dll.html seems to have an error: gcc -o myprog myprog.ca -L./ -lmydll --^ It seems it should be: gcc -o myprog myprog.c -L./ -lmydll Using "myprog.c" instead of "myprog.ca" allows it to compile to an .EXE which executes successful