The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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.

config

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

Get and set the config that is used to link the objects.

METHODS

Methods of SPVM::Builder::LinkInfo.

new

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