delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/09/16:31:44

From: "IBM News" <sal AT anonymous DOT net>
Newsgroups: comp.os.msdos.djgpp
References: <35549920 DOT 0 AT news3 DOT ibm DOT net>
Subject: Re: more compile problems...!!!
Date: Sat, 9 May 1998 13:36:30 -0600
Lines: 23
NNTP-Posting-Host: 129.37.218.155
Message-ID: <3554b49b.0@news3.ibm.net>
Organization: IBM.NET
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

ignote the error in hte first post please
("void main(void)"  should be "int main(void)")

IBM News wrote in message <35549920 DOT 0 AT news3 DOT ibm DOT net>...
>Whenever I try to compile the standard hello.c program i get an error...
>
>#include <stdio.h>
>
>int main(void)
>{
>    printf("Hello, world!\n");
>    retrun 0;
>}
>
>it says Errot: ld.exe: cannot open -lgcc  File format not recognized
>
>What does this mean???
>
>
>
>


- Raw text -


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