| www.delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| Date: | Sat, 26 Nov 2011 22:49:29 -0500 |
| Message-Id: | <201111270349.pAR3nTV5031023@envy.delorie.com> |
| From: | DJ Delorie <dj AT delorie DOT com> |
| To: | djgpp AT delorie DOT com |
| In-reply-to: | |
| <daae4388-4e58-4d0d-bbfa-a8dad50fd5ba AT c16g2000pre DOT googlegroups DOT com> | |
| (message from jimm on Sat, 26 Nov 2011 19:31:00 -0800 (PST)) | |
| Subject: | Re: change in djgpp c++ compiler |
| References: | <daae4388-4e58-4d0d-bbfa-a8dad50fd5ba AT c16g2000pre DOT googlegroups DOT com> |
| Errors-To: | nobody AT delorie DOT com |
gcc is for C files (compiling and linking). g++ is for C++ files (compiling and linking). Since DOS doesn't allow '+' in filenames, we originally used 'p' instead, but gcc itself uses 'x' so gxx is for C++ files. C files are *.c C++ files are *.C or *.cc or *.cpp, but since DOS is case insensitive, you can't use *.C
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |