delorie.com/archives/browse.cgi | search |
From: | "Matthew Conte" <itsbroke AT classicgaming DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
References: | <3D5U8.94680$GY DOT 32020850 AT twister DOT nyroc DOT rr DOT com> <3d2380b0$0$15197$9b622d9e AT news DOT freenet DOT de> <ag1049$d9v$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> |
Subject: | Re: ANNOUNCE: thinlib directmedia djgpp library 0.1.1 |
Lines: | 27 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 6.00.2600.0000 |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
Message-ID: | <STXU8.101710$GY.35108449@twister.nyroc.rr.com> |
Date: | Thu, 04 Jul 2002 13:15:30 GMT |
NNTP-Posting-Host: | 66.66.237.173 |
X-Complaints-To: | abuse AT rr DOT com |
X-Trace: | twister.nyroc.rr.com 1025788530 66.66.237.173 (Thu, 04 Jul 2002 09:15:30 EDT) |
NNTP-Posting-Date: | Thu, 04 Jul 2002 09:15:30 EDT |
Organization: | Road Runner |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
"Hans-Bernhard Broeker" <broeker AT physik DOT rwth-aachen DOT de> wrote: > > Error when compiling (Using gcc 3.0.4): > > > gpp -W -Wall -O3 -fomit-frame-pointer -ffast-math -o tl_sb.o -c tl_sb.c > ^^^ ^^^^^^^ > Usage error, I'd say. You shouldn't be compiling a C source with the > C++ compiler. [snip] why is gpp being used to compile tl_sb.c? my rule for .c files is: %.o: %.c $(CC) $(CFLAGS) -o $@ -c $< there is no rule for .cpp files: the one .cpp file in the distribution (the 'test' file) uses gpp explicitly in its rule for the resulting .exe. regards, matthew.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |