On Apr 14, 2009, at 2:09 PM, Michael Fischer wrote:
Hello Rick,As a general matter, anyone doing OSS development on a Mac will already have MacPorts installed. It correctly handles dependency tracking and updating components independently.Yes you are sure, for OSS development. But I think not for embedded development in case of e.g. ARM.If you really want to build a standalone package for this, you should just include the libftdi and libusb dylibs.I can do this, I had copy the dynlibs to the openocd executable but even this was not working.
You need to make sure that the dylibs are installed in their final locations. The OS X dylib format includes the absolute path of the dylib when linking. If you move it to another directory, any program linked against it will be looking in the old location.
I will give it tomorrow the next try... Best regards, Michael -----Ursprungliche Nachricht----- Von: Rick Altherr [mailto:[email protected]] Gesendet: Dienstag, 14. April 2009 23:03 An: Michael Fischer Cc: Openocd-Dev Betreff: Re: AW: [Openocd-development] How to configure the build, without using dynamic libraries? As a general matter, anyone doing OSS development on a Mac will already have MacPorts installed. It correctly handles dependency tracking and updating components independently. If you really want to build a standalone package for this, you should just include the libftdi and libusb dylibs. Static libraries just make the binary bigger and make upgrading those components impossible. Rick On Apr 14, 2009, at 1:36 PM, Michael Fischer wrote:Hello Rick,OpenOCD is already part of MacPorts.But here the user must install MacPorts. Do you know my windows page, www.yagarto.de ? Here the user will find a toolchain, and openocd which works out of the box without to install anything else. For the Mac I want to create a solution like this. The toolchain installer is working, but I have problems with OpenOCD. Best regards, Michael -----Ursprungliche Nachricht----- Von: Rick Altherr [mailto:[email protected]] Gesendet: Dienstag, 14. April 2009 22:32 An: Michael Fischer Cc: Openocd-DevBetreff: Re: [Openocd-development] How to configure the build, withoutusing dynamic libraries? On Apr 14, 2009, at 11:56 AM, Michael Fischer wrote:Hello list, I am working on a Mac OS X installer for OpenOCD. If I only install the openocd executable, I got an error that the dynamic library for libusb and libftdi can not be found. This is correct, because this libraries was not installed. For the toolchain build I could use --disable-shared, or removed the library with the extension dynlib. But how can I get OpenOCD to work without dynamic libraries? Best regards, Michael _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-developmentOpenOCD is already part of MacPorts. -- Rick Altherr [email protected]"He said he hadn't had a byte in three days. I had a short, so I splitit with him." -- Unsigned-- Rick Altherr [email protected] "He said he hadn't had a byte in three days. I had a short, so I split it with him." -- Unsigned
-- Rick Altherr [email protected]"He said he hadn't had a byte in three days. I had a short, so I split it with him."
-- Unsigned
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
