www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/28/14:35:37

From: "Robert Meolic" <meolic AT uni-mb DOT si>
Newsgroups: comp.os.msdos.djgpp
Subject: Making DLLs
Date: 27 Dec 1999 13:31:46 GMT
Organization: University of Maribor
Lines: 26
Message-ID: <01bf506e$c16c7b40$040308a4@dpgp4.uni-mb.si>
NNTP-Posting-Host: dpgp4.uni-mb.si
X-Trace: strelovod.uni-mb.si 946301506 9979 164.8.3.4 (27 Dec 1999 13:31:46 GMT)
X-Complaints-To: news AT uni-mb DOT si
NNTP-Posting-Date: 27 Dec 1999 13:31:46 GMT
X-Newsreader: Microsoft Internet News 4.70.1155
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi!

1. Where can I find information about making DLLs (for Win95) with DJGPP?
2. I have simple program test.c:

    int main() {
      printf("Hello!");
    }

It's OK to compile with
>gcc -o test test.c.

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'

What is wrong?

  Happy New Year to all DJGPP users!

  Robert Meolic (meolic AT uni-mb DOT si)

- Raw text -


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