X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-ID: <44b4ed45$0$486$cc7c7865@news.luth.se> From: Martin Str|mberg Subject: Re: undefined reference Newsgroups: comp.os.msdos.djgpp References: <1152663563 DOT 566365 DOT 26490 AT i42g2000cwa DOT googlegroups DOT com> <200607120034 DOT k6C0YMxe009932 AT envy DOT delorie DOT com> <44b4be6e$0$493$cc7c7865 AT news DOT luth DOT se> User-Agent: tin/1.4.6-20020816 ("Aerials") (UNIX) (NetBSD/1.6Q (alpha)) Date: 12 Jul 2006 12:38:29 GMT Lines: 16 NNTP-Posting-Host: speedy.ludd.ltu.se X-Trace: 1152707909 news.luth.se 486 130.240.16.13 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Rod Pemberton wrote: >> Wouldn't that filename make even gcc to compile it as C++. >> >> You need to name your C files so they end with a "c" (not "C"). > What if he's using an 8.3 MS-DOS? (all capitals, no lowercase...) It not all capitals... The file system doesn't matter. It's what's on the command line that is important. Right, MartinS