Class: MxxRu::Cpp::Toolsets::GccLinux

Inherits:
GccUnixFamily show all
Defined in:
lib/mxx_ru/cpp/toolsets/gcc_linux.rb

Overview

Toolset implemetation for GCC compiler for Linux.

Constant Summary

Constants inherited from GccFamily

MxxRu::Cpp::Toolsets::GccFamily::GCC_PORT_CYGWIN, MxxRu::Cpp::Toolsets::GccFamily::GCC_PORT_MINGW, MxxRu::Cpp::Toolsets::GccFamily::GCC_PORT_TAG, MxxRu::Cpp::Toolsets::GccFamily::GCC_PORT_UNIX

Instance Method Summary collapse

Methods inherited from GccUnixFamily

#default_lib_linking_mode, #lib_linking_mode_switch, #make_linker_include_lib_options, #switch_to_default_lib_mode_if_needed

Methods inherited from GccFamily

#c_compiler_name, #cpp_compiler_name, #dll_file_name, #enclose_linker_include_lib_options_into_brackes, #exe_file_name, #force_cpp0x_std, #implib_link_name, #implib_link_path, #lib_file_name, #lib_link_name, #librarian_name, #linker_name, #make_c_obj_command_lines, #make_cpp_obj_command_lines, #make_dll_command_lines, #make_dll_requirements, #make_exe_command_lines, #make_lib_command_lines, #make_linker_include_lib_options, #obj_file_ext, #port_specific_dll_link_options, #port_specific_exe_link_options, #port_specific_lib_name_checker

Constructor Details

#initialize(a_name = "gcc") ⇒ GccLinux

Returns a new instance of GccLinux.



38
39
40
41
42
43
44
45
# File 'lib/mxx_ru/cpp/toolsets/gcc_linux.rb', line 38

def initialize( a_name = "gcc" )
  super( a_name )

  setup_tag( GCC_PORT_TAG, GCC_PORT_UNIX )
  setup_tag( "host_os", "unix" )
  setup_tag( "target_os", "unix" )
  setup_tag( "unix_port", "linux" )
end

Instance Method Details

#setup_mandatory_options(target) ⇒ Object



47
48
49
50
51
# File 'lib/mxx_ru/cpp/toolsets/gcc_linux.rb', line 47

def setup_mandatory_options( target )
  super( target )

  #target.linker_option( "-L/usr/lib" )
end