|
From: | lukshuntim |
Subject: | Re: how to compile c++0x file with mkoctfile command? |
Date: | Sun, 02 Jun 2013 11:53:50 +0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 |
On Saturday, June 01, 2013 08:47 AM, Li Patrick wrote:
Hi there, I am trying to compile a c++ file by mkoctfile. I tried the following command in Ubuntu12.04: mkoctfile testCode.cpp --link-stand-alone - test It didn't work out. I am thinking if I can add to mkoctfile with the option "-std=c++0x" as what I can do in gcc. Anyone has experience in compiling with this option "-std=c++0x"?
Hi,See if adding it to the environmental variable CFLAGS works for you. You can see its current value by invoking "mkoctfile -p CFLAGS".
Regards, ST --
[Prev in Thread] | Current Thread | [Next in Thread] |