Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Our header files are static or dynamic library

Status
Not open for further replies.

spartekus

Member level 5
Joined
May 27, 2010
Messages
81
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Location
Duisburg, Germany
Activity points
1,918
Hi Everyone,

when we create own headers, for istance, math,c and math.h.
When we include them, does compiler make them shared or static library.
Thank you

project :
main.c
math.c
math.h

Best regards
 

Hi Everyone,

when we create own headers, for istance, math,c and math.h.
When we include them, does compiler make them shared or static library.
Thank you

project :
main.c
math.c
math.h

Best regards

static or dynamic does not arise when you include math.c and main.c, compiled together to make an executable.

'library' results only when you dont call the 'main' or equivalent.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top