dependencies

M

Michael

how to include libs to get an app without external dependencies? alike
winebottler for ex.

headers are only used for compilation?

Thanks
 
V

Victor Bazarov

how to include libs to get an app without external dependencies?
alike winebottler for ex.

Still no C++ language question... Including libs is an OS feature or
the compiler feature. Perhaps you want to try posting your question in
the newsgroup for your OS or your compiler?
headers are only used for compilation?

I can't fully understand this question, did you mean to ask, "Are
headers only used for compilation?" If so, the answer is, in our world,
the world of C++ language, they are, yes. Whatever else you decide to
put in your code, like specially formatted comments, or preprocessor
#pragma's, is not defined by the language standard, and as such is
off-topic in c.l.c++. You can probably find out more about those things
if you read the documentation for the system that calls for those
specially formatted comments or #pragma's. Libraries are
compiler-specific, their inclusion is compiler-specific, and often has
nothing really to do with headers.

V
 
M

Mike

I only can think of doing static libs but doing such for 20 or more
libs seems a painful task...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,145
Messages
2,570,826
Members
47,371
Latest member
Brkaa

Latest Threads

Top