|
[Sponsors] |
December 6, 2009, 22:50 |
Our friend "wmake"
|
#1 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
I want to know what's going on behind the scenes of wmake. The Make/options file is confusing me. e.g. (in ThirdParty/malloc/hoard):
EXE_INC = -DNDEBUG -D_REENTRANT=1 LIB_LIBS = \ -ldl -lpthread I'm guessing EXE_INC are compiler options going to gcc, but what is LIB_LIBS? Where can I learn what all the options / categories are? |
|
December 7, 2009, 03:32 |
|
#2 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40 |
Quote:
What this specifically means is that LIB_LIBS are also linked in. For example, if you look at src/sampling/Make/options, you should see this: Code:
LIB_LIBS = \ -lfiniteVolume \ -lmeshTools \ -lsurfMesh \ -ltriSurface You can verify this with 'ldd'. For example, Code:
ldd -v lib/linux64GccDPOpt/libsampling.so Simply learning by example (ie, seeing how they are used in the OpenFOAM code base) worked for me. |
||
Tags |
wmake; options; lib_libs |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
I am finding a friend to talk about the GFM | jinwon | Main CFD Forum | 0 | April 27, 2007 10:17 |
Please help me see this about paraFoam | liugx212 | OpenFOAM Running, Solving & CFD | 2 | March 8, 2006 10:54 |
Could anybody help me about the specify inlet and outlet | liugx212 | OpenFOAM Running, Solving & CFD | 4 | February 13, 2006 11:53 |
i want to find my dear friend ... | kevin | FLUENT | 0 | February 28, 2002 21:15 |
Find a my dear friend ..... | kevin | FLUENT | 0 | February 25, 2002 22:28 |