linker and librarian question...

linker and librarian question...

Ritratto di servil

Hello,

I found a linker and librarian (xilink and xilib) are present in the ICL distribution, can I know what's their purpose? Inspecting them I notice either original original link and lib are finally called anyhow. What's the difference if I link my project with xilink vs link?

thanks in adv,

servil

2 post / 0 new
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione
Ritratto di cp_jain

Hello Servil,
When you use -ipo option with compiler, the compiler produces "mock" object files during the compilation phase of multifile IPO.
You can not use native linker to link these object files.

The Intel linker, xilink/xilib performs the following steps:

1. Invokes the Intel compiler to perform multifile IPO if objects containing
IR are found.
2. Invokes the linker, link, to link the application.

For details about IPO and /or xilink please refer to Intel compiler documentation.

Regards,
CP

Accedere per lasciare un commento.