D
D
Dolarun2022-02-23 14:41:29
C++ / C#
Dolarun, 2022-02-23 14:41:29

How is code linked during translation?

Let's say I have a library "A". I'm compiling another library "B" and using "A" in doing so. And here I want to create an executable file "EXE" using library "B".
I don't need to specify "A" when linking "EXE", right?
Should only be enough "B"?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
Wataru, 2022-02-23
@Dolarun

Depends on how you compile B. If A is not statically linked there, then it will have to be specified separately when compiling the EXE.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question