NAME

SPVM::Builder::LinkInfo - Object file information

DESCRIPTION

SPVM::Builder::LinkInfo is a object file information. This infromation is used by the linker.

FIELDS

Fields of SPVM::Builder::LinkInfo.

output_file

my $output_file = $link_info->output_file;
$link_info->output_file($output_file);

Get and set the object file that is compiled.

ld

my $ld = $link_info->ld;
$link_info->ld($ld);

Get and set the linker name.

ldflags

my $ldflags = $object_file_info->ldflags;
$object_file_info->ldflags($ldflags);

Get and set the linker flags. The default value is [].

object_file_infos

my $object_file_infos = $link_info->object_file_infos;
$link_info->object_file_infos($object_file_infos);

Get and set the object file informations to be linked. Each object file is SPVM::Builder::ObjectFileInfo.

class_name

my $class_name = $link_info->class_name;
$link_info->class_name($class_name);

Get and set the class name.

is_exe

my $is_exe = $link_info->is_exe;
$link_info->is_exe($is_exe);

Get and set if the output file is executable file.

METHODS

Methods of SPVM::Builder::LinkInfo.

new

my $link_info = SPVM::Builder::LinkInfo->new;