Cross-compile to run on Windows and to generate code for Linux?
On 18 August 2012 01:18, Thomas Stover <cts@...> wrote:
> I think you answered your own question. The numeric constant prefix isn't
> supported in that version.
> Better (rhetorical) question: If you have access to Ubuntu, why not just
> cross compile for 'doz instead of tolerate an IDE?
> On Friday, August 17, 2012 2:36pm, "Dipanjan Das" <
> its.dipanjan.das@...> said:
> I can successfully compile the following piece of code using gcc 4.4.3 on
> Ubuntu 10.x platform.
> *int main()*
> * int var = 0b100;*
> * return 0;*
> But, it fails to compile by MinGW gcc 3.4.2 which by default ships with
> Developer C++ 18.104.22.168 IDE with the following error message:
> "*3:12 H:\Experiment\Shared\demo.c invalid suffix "b100" on integer
> Any idea?
> Thanks & Regards,
Thanks & Regards,