You could try -std=c++0x or -std=gnu++0x
On Jun 20, 2014 6:11 PM, "Héctor A. Abreu" <
[email protected]> wrote:

> Hi,
>
> I'm trying to install Ledger on a Raspberry Pi. I'm following instructions
> from https://github.com/ledger/ledger/ , installed dependencies for
> Debian Wheezy, but running ./acprep update will give me the following
> message:
>
> [  1%] Generating ../system.hh.gch
> cc1plus: error: unrecognized command line option ‘-std=c++11’
> make[2]: *** [system.hh.gch] Error 1
> make[1]: *** [src/CMakeFiles/libledger.dir/all] Error 2
> make: *** [all] Error 2
> acprep: ERROR: Execution failed: make
>
> I googled the message and read that it's probably related to the GCC, that
> it must be 4.7, but I think Debian Wheezy has 4.6. I also read that
> -std=c++11 can be replaced for something else to make it work. I am not
> sure of anything of this, please help.
>
> Thank you in advance.
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Ledger" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to