- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The compile time to be create a Win32 version of the OpenOCD takes too long time.
When OpenOCD source file is modified the code once, it takes about 30 minutes to create an openocd-all-brcm-libftdi.exe file.
In contrast, the compile time in Ubuntu or OSX doesn't take a long time. (less than five minutes.)
Maybe, It is assumed as a characteristic of Mingw.
Is It possible to build without any problems when the build flag is changed to '-O3' from '-O0'?
Let me know how to increase the compile the speed in MinGW.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Once you make a change in the source for openOCD, you don't need to run that script.
Here is the process you should follow -
Run the build_all script once to get a binary
Then go to the openOCD directory and make any source code changes you want.
Then you can just run make && make install from the openOCD directory directly in order to get a new binary. This should take you a few minutes even with mingw