|
[Sponsors] | |||||
|
|
|
#1 |
|
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 364
Rep Power: 9 ![]() |
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? |
|
|
|
|
|
|
|
|
#2 | |
|
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.com/
Posts: 766
Rep Power: 16 ![]() |
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 |
| Thread Tools | |
| Display Modes | |
|
|
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 09:17 |
| Please help me see this about paraFoam | liugx212 | OpenFOAM Running, Solving & CFD | 2 | March 8, 2006 09:54 |
| Could anybody help me about the specify inlet and outlet | liugx212 | OpenFOAM Running, Solving & CFD | 4 | February 13, 2006 10:53 |
| i want to find my dear friend ... | kevin | FLUENT | 0 | February 28, 2002 20:15 |
| Find a my dear friend ..... | kevin | FLUENT | 0 | February 25, 2002 21:28 |