delorie.com/archives/browse.cgi | search |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Making DLLs |
Date: | Tue, 28 Dec 1999 17:40:57 +0200 |
Organization: | NetVision Israel |
Lines: | 22 |
Message-ID: | <Pine.SUN.3.91.991228173906.4877C-100000@is> |
References: | <01bf506e$c16c7b40$040308a4 AT dpgp4 DOT uni-mb DOT si> |
NNTP-Posting-Host: | is.elta.co.il |
Mime-Version: | 1.0 |
X-Trace: | news.netvision.net.il 946395550 18176 199.203.121.2 (28 Dec 1999 15:39:10 GMT) |
X-Complaints-To: | abuse AT netvision DOT net DOT il |
NNTP-Posting-Date: | 28 Dec 1999 15:39:10 GMT |
X-Sender: | eliz AT is |
In-Reply-To: | <01bf506e$c16c7b40$040308a4@dpgp4.uni-mb.si> |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On 27 Dec 1999, Robert Meolic wrote: > 1. Where can I find information about making DLLs (for Win95) with DJGPP? DJGPP doesn't support DLLs. If you need to create Windows programs, explore one of the possible solutions outlined in section 3.9 of the FAQ. > But I have problem, if I use: > >gcc -c test.c > >ld -o test test.o > > I get the following errors: > >ld.exe: warning: cannot find entry symbol start; defaulting to 000018a8 > >test.o(.text+0x11):test.c: undefined reference to `printf' You are invoking ld.exe, the linker, incorrectly. Add -v to the GCC command line, like this: gcc -v -o test test.c and you will see the complex command line with which GCC invokes ld.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |