Menu

#1017 intel compiler /bin/sh: tranlib: command not found.

Undefined
applied
nobody
Patch
2020-09-26
2020-09-23
No

Hello,

When compiling my workspace with intel compiler, I got error
/bin/sh: tranlib: command not found.
after linking of library, and compilation of next projects not done.
To compile my whole workspace with several projects I had to build all projects one by one.

I am under linux Gentoo with Codeblocks 17.12. My projects are static libraries.

I found that "tranlib" appears in options_icc.xml
I also found an old patch of codeblocks removing it https://alpha0010.github.io/cb-history/patches/2781.html but previously to using xml files.
I applied the same modification to options_icc.xml and problem is solved.

Would be nice to solve the problem in trunk, even if it seems I am the only one using codeblocks with icc and static libraries under linux.

Best regards,

Sylvain

Discussion

  • Teodor Petrov

    Teodor Petrov - 2020-09-23
    • labels: --> compiler options
    • Milestone: Release_xx.yy --> Undefined
     
  • Teodor Petrov

    Teodor Petrov - 2020-09-23

    Can you post an actual working patch against trunk?

    Generally you're brave to use Intel's compiler when clang is better and free :) I suppose even GCC is better than ICC, these days. At work we've stopped using Intel when even MSVC got better than ICC. :) By better I mean produces faster code and there are smaller number compiler bugs.

     
  • Sylvain Miossec

    Sylvain Miossec - 2020-09-25

    Here is a patch created in the source code folder with command
    diff -u options_icc.xml options_icc_new.xml > options_icc.patch
    Hope it is in a good format for you.

     
  • Teodor Petrov

    Teodor Petrov - 2020-09-26
    • status: open --> applied
    • Type: Bug_Report --> Patch
     

Log in to post a comment.