Re: [Mingw-w64-public] #ifndef or #ifdef, that is the dilemma

2013-09-05 Thread Ozkan Sezer
> Am 05.09.2013 23:10 schrieb "Incongruous" : >> >> #ifndef __cpluplus >>std::cout << "error\n A C++ compiler is required!" << std::endl; >>return -1; >> #endif >> The above snip says, if __cplusplus has not been defined print “bla bla” >> and return –1. Which means that if I am using __cp

Re: [Mingw-w64-public] #ifndef or #ifdef, that is the dilemma

2013-09-05 Thread Kai Tietz
As you check for "__cpluplus" - which is obviously not defined by compiler by default - I would assume you are using c++ : ;-) Am 05.09.2013 23:10 schrieb "Incongruous" : > #ifndef __cpluplus >std::cout << "error\n A C++ compiler is required!" << std::endl; >return -1; > #endif > The ab

[Mingw-w64-public] Which binutils/gcc version to build mingw-w64 cross-compiler on Linux?

2013-09-05 Thread Krzysztof Czarnowski
First: Thank you guys for MinGW-w64! I love it! I've used it some time ago "natively" and it was perfect. But having sad that, the actual question/problems :-) I've already asked that on stackoverflow, but this place is definitely better: This time I need a cross-compiler so I've built a tool-cha

[Mingw-w64-public] #ifndef or #ifdef, that is the dilemma

2013-09-05 Thread Incongruous
#ifndef __cpluplus std::cout << "error\n A C++ compiler is required!" << std::endl; return -1; #endif The above snip says, if __cplusplus has not been defined print “bla bla” and return –1. Which means that if I am using __cplusplus it should NOT print anthing, right? So, am I using the C

Re: [Mingw-w64-public] 2.0.8 doesn't build gcc 4.8.0?

2013-09-05 Thread niXman
2013/9/5 Ray Donnelly: > For most projects that use it, mingw-w64 is grabbed from svn and the > releases are largely ignored. > > Whether that's a good thing or not is another matter of course. This situation will be corrected. We(I and Alexey) will building using mingw-w64 releases, just the name

Re: [Mingw-w64-public] 2.0.8 doesn't build gcc 4.8.0?

2013-09-05 Thread Ray Donnelly
For most projects that use it, mingw-w64 is grabbed from svn and the releases are largely ignored. Whether that's a good thing or not is another matter of course. On Thu, Sep 5, 2013 at 3:17 PM, Roger Pack wrote: > On 9/5/13, Adrien Nader wrote: >> On Wed, Sep 04, 2013, Roger Pack wrote: >>> He

Re: [Mingw-w64-public] 2.0.8 doesn't build gcc 4.8.0?

2013-09-05 Thread Roger Pack
On 9/5/13, Adrien Nader wrote: > On Wed, Sep 04, 2013, Roger Pack wrote: >> Hello. >> Despite my not understanding it, for some reason with 2.0.8 I'm unable >> to build gcc 4.8.0, I get this output: >> >> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55706 >> >> however, that "should" have been fixe

Re: [Mingw-w64-public] 2.0.8 doesn't build gcc 4.8.0?

2013-09-05 Thread Adrien Nader
On Wed, Sep 04, 2013, Roger Pack wrote: > Hello. > Despite my not understanding it, for some reason with 2.0.8 I'm unable > to build gcc 4.8.0, I get this output: > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55706 > > however, that "should" have been fixed in r4357, which "should" have > been