X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: jimm Newsgroups: comp.os.msdos.djgpp Subject: Re: change in djgpp c++ compiler Date: Sat, 26 Nov 2011 22:06:28 -0800 (PST) Organization: http://groups.google.com Lines: 17 Message-ID: <60f8ec14-1e30-4c99-998f-c8d8cd1b4913@n7g2000prb.googlegroups.com> References: <201111270349 DOT pAR3nTV5031023 AT delorie DOT com> <4e45ab93-5909-4fe4-8d62-191b9725183e AT d37g2000prg DOT googlegroups DOT com> <201111270515 DOT pAR5FZNG003264 AT delorie DOT com> NNTP-Posting-Host: 24.22.56.37 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1322374086 9467 127.0.0.1 (27 Nov 2011 06:08:06 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Sun, 27 Nov 2011 06:08:06 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: n7g2000prb.googlegroups.com; posting-host=24.22.56.37; posting-account=05hOMwoAAAB6R8xtiQKzEljSMzgOhVF1 User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20100101 Firefox/8.0,gzip(gfe) Bytes: 2192 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id pAR6F3X5003420 Reply-To: djgpp AT delorie DOT com On Nov 26, 9:15 pm, DJ Delorie wrote: > Have you tried reading the gcc manual?  It documents all the command > line options. well, with mingw and mingw-w64 (gcc derivatives) you have to use - std=gnu++0x and -lstdc++ to enable using the standard c++ libraries (and copy the DLLs). so everybody's implementation of gcc is different. I did not know if I had to link any standard c++ libraries (I didn't see any in djgpp 4.6.2) or if there were any special things I had to do like I do with mingw collection of compilers in order to use c++0x/c++11 features (or whether there ARE any in 4.6.2). I make binaries for as many platforms as I can (right now just dos and windows). If I could generate mac, linux binaries from windows, I would. I am asking about what's required specifically for djgpp.