I haven't used autotools in mingw/msys environment but
I think you can specify those paths with autotools also.

Makefile.am is for those purpose in my case.


bin_PROGRAMS = logging_client

logging_client_CPPFLAGS = \
                          -I$(ACE_ROOT)\
                          -I$(HLM_ROOT)/include\
                          -D_GNU_SOURCE\
                          -D__ACE_INLINE__\
                          -DACE_NTRACE=0\
                          -DACE_HAS_WCHAR=1


logging_client_SOURCES = \
                         Logging_Client.cpp

logging_client_LDFLAGS = \
                         -L$(ACE_ROOT)/lib\
                         -L$(HLM_ROOT)/lib

logging_client_LDADD = \
                       -lACE\
                       -lHLM


This is one sample I use in Linux not in msys though.
You can specify whatever you need this way.

I don't know if this works same in msys though..

Journeyer


----------------------------------------
Journeyer J. Joh
o o s a p r o g r a m m e r
a t
g m a i l  d o t  c o m
----------------------------------------


2013/7/6 Kirk Joppy <kirk.joppy@gmail.com>
> I didn't use pkg-config.
> I didn't copy any header or library files of boost.
> I specified those paths on the IDE, code::blocks.

I see. So you don't use autotools but rather use Code::Blocks on both
Windows and Linux. This may be a good option. I started using
Code::Blocks in the beginning but stopped because the project I'm
trying to build is distributed with autotools files for building.
Maybe the right strategy is to instead use an IDE to drive the build.
Thanks for the suggestion.
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users