Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Man page de ld

2 views
Skip to first unread message

Olivier

unread,
Dec 12, 2023, 5:02:55 AM12/12/23
to
Hello,

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 ?

Merci

Olivier



Gilbert OLIVIER

unread,
Dec 12, 2023, 5:09:58 AM12/12/23
to
Le 12 décembre 2023 à 11:02, Olivier a poursuivi…

> Hello,
Bonjour
>
> 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 ?

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

--
Gilbert
<https://maccafe.fr>
Liens vers une liste de serveurs gratuits conseillés pour les groupes fr et de
lecteurs de nouvelles sur la page <https://maccafe.fr/serveurs.html>

Olivier Miakinen

unread,
Dec 12, 2023, 5:33:21 AM12/12/23
to
Bonjour,

Le 12/12/2023 11:02, Olivier a écrit :
>
> 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.

Sur le web, on trouve pourtant facilement les pages man d'à peu près tout ce
que l'on souhaite : <https://www.google.com/search?q=man+ld>.

Les quatre premiers résultats sont pour GNU/linux, le cinquième pour OSX :
<https://www.unix.com/man-page/osx/1/ld/>.


--
Olivier Miakinen

Chris

unread,
Dec 12, 2023, 6:12:46 AM12/12/23
to
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.

Olivier

unread,
Dec 13, 2023, 8:42:37 AM12/13/23
to
a écrit :


>> 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


En fait j'avais un soucis avec ma variable MANPATH dans laquelle il
manquait des répertoires.

J'ai remis ça d'aplomp :-((

Merci pour tout.

Olivier



0 new messages