Sujet : Re: Man page de ld
De : chris (at) *nospam* chris.com.invalid (Chris)
Groupes : fr.comp.sys.mac.programmationDate : 12. Dec 2023, 12:12:44
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <ul9f7c$3kpp3$1@dont-email.me>
References : 1 2
User-Agent : MacCafe/3.01(4D18)/harrar (macOS 14.2.0 (23C64) - Mac13,1)
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 lebouffon dimensionnel rapidement.