Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
告知
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
6814 ディスカッション

Building completely static IPP Sample binaries

BRIAN_F_Intel1
従業員
503件の閲覧回数

Hi, 

I'm trying to build the usc_speech_codec binary as a completely static binary. Currently, with the build.pl script, if you pass in "s" for static, it builds it but it is only partially static. It still requires some shared libraries to run. I have been trying to edit the makefiles, particularly "FindGlobals.cmake", adding "-static" to the C_FLAGS variables to try and build it. The problem is that when I try to build,  build.pl errors out saying that 

/usr/bin/ld: cannot find -lgcc_s

Has anyone had this error before?

0 件の賞賛
1 返信
BRIAN_F_Intel1
従業員
503件の閲覧回数
FIXED. Just an update on this one. To solve this issue, I built the speech-codecs with build.pl --cmake=speech-codecs, ia32, make, s, st, debug Once this was done I went into the link.txt inside the speech_codec directory that was generated inside speech-codecs.ia32.make.s.st.debug. In here I added in "-static" and removed "-lgcc_s". I then ran "make usc_speech_codec" from the main makefile in the speech-codecs.ia32.make.s.st.debug folder, and it worked. The binary is now completely static.
返信