---
name: "nana-c++lg"
section: "1"
platform: "linux"
package: "nana"
version: "2.5-12+deb7u1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://carta.tech/man/nana-c++lg"
---

# nana-c++lg(1)

compiles and runs a (C++) program using the nana library.

## NAME

nana-c++lg - compiles and runs a (C++) program using the nana library.

## SYNOPSIS

nana-c++lg \[g++ arguments\] files...

## DESCRIPTION

This command uses [nana(1)](/man/nana/1.md) to generate a [gdb(1)](/man/gdb/1.md) script, compiles the files using [g++(1)](/man/g++/1.md) and then runs the commands under [gdb(1)](/man/gdb/1.md). It is intended as  as an aid for testing small programs or as a tool for first year students.

## SEE ALSO

[nana(1)](/man/nana/1.md), [nana(3)](/man/nana/3.md), [I(3)](/man/I/3.md), [DI(3)](/man/DI/3.md), [L(3)](/man/L/3.md), [DL(3)](/man/DL/3.md), [Q(3)](/man/Q/3.md) and nana.info.

The nana.info is the primary documentation.

## AUTHOR

Phil Maker \<pjm@gnu.org\>
