From: DavMac AT iname DOT com (Davin McCall) Newsgroups: comp.os.msdos.djgpp Subject: Re: return type for `main' changed to `int' Date: Mon, 18 Oct 1999 00:58:26 GMT Organization: Monash Uni Lines: 23 Distribution: world Message-ID: <380a705a.1349908@newsserver.cc.monash.edu.au> References: <84EFC73E5BDD300C DOT 85A7FCC32BD1270B DOT F7CB654E8161FA9A AT lp DOT airnews DOT net> <3809FC6D DOT DF9775D6 AT earthlink DOT net> <537F33663CE4A44F DOT 114FA00648992527 DOT 86AA6D9428718DA3 AT lp DOT airnews DOT net> NNTP-Posting-Host: damcc5.halls.monash.edu.au X-Trace: towncrier.cc.monash.edu.au 940208307 16465 130.194.198.138 (18 Oct 1999 00:58:27 GMT) X-Complaints-To: abuse AT monash DOT edu DOT au NNTP-Posting-Date: 18 Oct 1999 00:58:27 GMT X-Newsreader: Forte Free Agent 1.1/32.230 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com The readme.1st is correct. Martin Ambuhl has perhaps missed the fact that you are only compiling, and not linking your code. Davin. On Sun, 17 Oct 1999 13:45:14 -0400, Rodeo Red wrote: >This is what the readme1st says : > >To compile a C or C++ source file into an object file, use this >command line: > > gcc -c -Wall myfile.c (for C source) > or > gcc -c -Wall myfile.cc (for C++ source) > >I don't understand why you say one thing and the readme1st says another. >Is the read me 1st wrong ? __________________________________________________________ *** davmac - sharkin'!! davmac AT iname DOT com *** my programming page: http://yoyo.cc.monash.edu.au/~davmac/