[GRASS-dev] Re: [GRASS GIS] #61: vdigit makefile uses hardwired
compile and link flags
GRASS GIS
trac at osgeo.org
Mon Mar 10 11:14:33 EDT 2008
#61: vdigit makefile uses hardwired compile and link flags
------------------------+---------------------------------------------------
Reporter: kyngchaos | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: Python | Version: 6.3.0 RCs
Resolution: | Keywords:
------------------------+---------------------------------------------------
Comment (by martinl):
Replying to [comment:2 kyngchaos]:
> On OSX, the proper linking for a python extension is -bundle, not
-dynamiclib. So "-shared" should be replaced by some configured value in
Platform.make.
>
> Shouldn't COMPILE_FLAGS_CXX be in CXXFLAGS, and LINK_FLAGS in LDFLAGS?
>
I removed from Makefile some hardcoded flags and also added
COMPILE_FLAGS_CXX and LINK_FLAGS (which are contained in CXXFLAGS and
LDFLAGS, see Grass.make) -- r30523.
> See ticket #58 for info about linking _gdi_.so.
_gdi_.so is still directly linked into _grass6_wxvdigit.so. When I remove
-lgdi from LD_FLAGS 'import grass6_wxvdigit' fails
{{{
_grass6_wxvdigit.so: undefined symbol: _ZN10wxPseudoDC9AddToListEP5pdcOp
}}}
Martin
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/61#comment:3>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/
More information about the grass-dev
mailing list