zoukankan      html  css  js  c++  java
  • ld

    ld - linker

    NAME

         ld -- linker

    SYNOPSIS

         ld files...  [options] [-o outputfile]

    DESCRIPTION

         The ld command combines several object files and libraries, resolves references, and produces an

         ouput file.  ld can produce a final linked image (executable, dylib, or bundle), or with the -r

         option, produce another object file.  If the -o option is not used, the output file produced is

         named "a.out". 

       Universal

           The linker accepts universal (multiple-architecture) input files, but always creates a "thin"

         (single-architecture), standard Mach-O output file.  The architecture for the output file is spec-

         ified using the -arch option.  If this option is not used, ld attempts to determine the output

         architecture by examining the object files in command line order.  The first "thin" architecture

         determines that of the output file.  If no input object file is a "thin" file, the native 32-bit

         architecture for the host is used.

           Usually, ld is not used directly.  Instead the gcc(1) compiler driver invokes ld. The compiler

         driver can be passed multiple -arch options and it will create a universal final linked image by

         invoking ld multiple times and then running lipo(1) merge the outputs into a universal file.

    to be continue ...

  • 相关阅读:
    java基础知识--环境变量配置
    安装oracle11g时遇到INS-13001环境不满足最低要求
    MINA系列学习-IoBuffer
    MINA系列学习-mina整体介绍
    DBCP数据源连接池实现原理分析
    dbcp数据源配置杂谈
    Java 内存区域和GC机制分析
    网站的防盗链与反盗链的那点事
    这一天博客小院我进来了!
    AOP
  • 原文地址:https://www.cnblogs.com/tekkaman/p/3550024.html
Copyright © 2011-2022 走看看