---

** [tickets:#122] Search dirs not working when openocd installed to /opt.**

**Status:** new
**Milestone:** 0.9.0
**Created:** Fri Mar 18, 2016 09:51 PM UTC by Rick
**Last Updated:** Fri Mar 18, 2016 09:51 PM UTC
**Owner:** nobody
**Attachments:**

- 
[0001-Search-dirs-not-working-when-openocd-installed-to-op.patch](https://sourceforge.net/p/openocd/tickets/122/attachment/0001-Search-dirs-not-working-when-openocd-installed-to-op.patch)
 (6.3 kB; text/x-patch)


When the debian versions of OpenOCD are installed to /opt, as gnuarmeclipse 
does, openocd cannot find the script files.

In src/helpers/options.c, the no path separators case sets run_prefix="".

bindir and pkgdatadir are also not set for the install location.

One solution is to add a special case for no path separators similar to Windows 
where the executable path is used to add search dirs for 
<openocd-path>/../scripts.







---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/openocd/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/openocd/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to