On Sat, Oct 13, 2012 at 8:04 AM, Peter Stuge <pe...@stuge.se> wrote:
> Xiaofan Chen wrote:
>> You can manipulate CFLAGS and LDFLAGS if you do not want to copy
>> the header and lib files to the default directories. But I consider
>> that as even more problematic than copying the files.
>
> The whole point of pkg-config is to not have to deal with them.
>
> I hope the example works as well on your system as it does on mine.

Yes it does work under Ubuntu. libftdi cross building is still an
issue for me since I do not know much about CMake. CMake
seems to be simpler than autotools but in reality it is also not
that easy to use if the default scripts are not working well...

>> Copying files is not feasible for big project with many
>> dependencies, but for openocd, it is really not that bad.
>
> It is simply unneccessary, and on top I think it's poor practise,
> when tools like pkg-config can handle it. Of course that requires
> using them, which OpenOCD doesn't do yet. Again, sad face.

Maybe you want to fix the OpenOCD scripts. I understand you
do not like the libusb-1.0 situation under OpenOCD but the
build scripts are not really related to that issue.


-- 
Xiaofan

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to