delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/12/13/08:53:00

From: v DOT canestrale AT isnet DOT it (Vincenzo Canestrale)
Subject: Newbie Problem with Linker!
13 Dec 1997 08:53:00 -0800 :
Message-ID: <16363979629779.cygnus.gnu-win32@isnet.it>
Mime-Version: 1.0
To: <gnu-win32 AT cygnus DOT com>

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 DOT canestrale AT isnet DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019