NAME

# App::hopen::T::Gnu::C::LinkCmd - link object files using the GNU toolset

SYNOPSIS

In a hopen file:

my $cmd = App::hopen::T::Gnu::C::LinkCmd->new(
    linker => 'gcc',
    dest => 'foo.exe',
    name => 'some linker node',     # optional
);

The inputs come from earlier in the build graph. TODO support specifying linker arguments.

ATTRIBUTES

linker

The linker to use. TODO is this a full path or just a name?

dest

The destination file to produce, as an App::hopen::Util::BasedPath instance. TODO? accept string or Path::Class::File instance?

MEMBER FUNCTIONS

_run

Create the link command line.