Liviu Ionescu wrote:
> > libusb-win32 isn't really neccessary for you to build - it is only
> > neccessary for the kernel driver.
> 
> it was required by openocd, when using the configure options I
> mentioned previously.

Ah, all right. Normally, libusb-compat-0.1 would be preferable to
libusb-win32, but libusb-compat-0.1 isn't so simple to make work on
win32.


> > Why not do as the manual describes and use PKG_CONFIG_LIBDIR?
> 
> "PKG_CONFIG_LIBDIR
> 
> Replaces the default pkg-config search directory.
> 
> PKG_CONFIG_PATH
> 
> A colon-separated (on Windows, semicolon-separated) list of
> directories to search for .pc files. The default directory will
> always be searched after searching the path; the default is
> libdir/pkgconfig:datadir/pkgconfig where libdir is the libdir where
> pkg-config and datadir is the datadir where pkg-config was installed."
> 
> my scripts use PKG_CONFIG_PATH to be sure I fully control the search
> path, to avoid finding anything in the system folders.

It is a very common error to confuse these two variables. To get the
results you desire you really need to use PKG_CONFIG_LIBDIR instead.


> except not knowing the best 'configure' options (and replicated the
> configuration used by Freddie Chopin, considered a 'classical'), I
> think the build scripts I used for all 3 platforms are quite elaborate.

Elaborate doesn't mean correct or appropriate. It can be difficult to
make the right decisions sometimes, but often given enough technical
analysis the best method or configuration is clear. Getting things
exactly right always requires much further than you want, however.


> if you have any comments/suggestions/criticisms regarding these
> scripts, and the entire build procedures of the GNU ARM Eclipse
> OpenOCD, please address them, I have no problems with this as long
> as they are constructive.

I'm afraid I can't take that on.


//Peter

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to