This is the mail archive of the cygwin@sourceware.cygnus.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]

Newbie Problem with Linker!


Hi to all,

I think mine is a very basic question.....

I'd like to compile a program that opens a 
simple window in Windows95. 

I obtain the object file..... but
when i had to link my file Prog.o with the library
the linker don't know where to find the library.

My file include:
#include <windows.h>

I tried
gcc -c c:\Prog.C 	[OK]
ld c:\Prog.o 		[Doesn't work :-(]

Which is the right command line?

Thanks.

v.canestrale@isnet.it
http://www.ipsnet.it/netpages/room466 (non attiva)
http://www.geocities.com/WallStreet/5385
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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