Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > fr.comp.sys.mac.programmation > #2625

Re: Man page de ld

From Chris <chris@chris.com.invalid>
Newsgroups fr.comp.sys.mac.programmation
Subject Re: Man page de ld
Date 2023-12-12 11:12 +0000
Organization A noiseless patient Spider
Message-ID <ul9f7c$3kpp3$1@dont-email.me> (permalink)
References <65782fcd$0$8244$426a74cc@news.free.fr> <ul9bhk$3k9cf$1@dont-email.me>

Show all headers | View raw


Le 12 décembre 2023, Gilbert OLIVIER a pris la peine de rédiger à
11:09 :


> Le 12 décembre 2023 à 11:02, Olivier a poursuivi…
>
>> Hello,
> Bonjour

Bonjour aussi ;-)

>> Je cherche les man pages de ld, le linker. J'ai installé Xcode, et j'ai
>> accès au linker. Mais je ne trouve pas de man page, ni sur le Mac, sur
>> sur le Web. 
>>
>> Vous sauriez ou trouvez ça ?
> Il n'y a plus "Terminal.app" dans Sonoma ?

Ben si


> Sinon dans le terminal "man ld", sous Mojave c'est bon.

Sous Sonoma aussi, ça donne ça (coupé car long)

ld(1)                       General Commands Manual                     
ld(1)

NAME
     ld – linker

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

DESCRIPTION
     The ld command combines several object files and libraries,
resolves
     references, and produces an output 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 specified 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 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.



-- 
Si le servo-rayon peut relayer l'alignement alors il va falloir polariser le
bouffon dimensionnel rapidement.

Back to fr.comp.sys.mac.programmation | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Man page de ld Olivier <olivier.marti@ensta.org> - 2023-12-12 10:02 +0000
  Re: Man page de ld Gilbert OLIVIER <gibert.olivier@orange.fr.invalid> - 2023-12-12 10:09 +0000
    Re: Man page de ld Chris <chris@chris.com.invalid> - 2023-12-12 11:12 +0000
      Re: Man page de ld Olivier <olivier.marti@ensta.org> - 2023-12-13 13:42 +0000
  Re: Man page de ld Olivier Miakinen <om+news@miakinen.net> - 2023-12-12 11:33 +0100

csiph-web