Community
cancel
Showing results for 
Search instead for 
Did you mean: 
119 Views

pe-dir-rule problem

Jump to solution
command
/opt/icc/cc/11.2.012b/bin/icc -big-endian -pe-dir-rule=./pe /opt/icc/cc/11.2.012b/bin/icc/cc/11.2.012b/include/__intel_prolog.h /opt/icc/cc/11.2.012b/bin/icc/cc/11.2.012b/include/__intel_epilog.h a.c
icc: command line error: 1 arguments not expected for '-pe-dir-rule', expecting 3
testcase is attached.
the small testcase can not work, but in compiling environment, it work, but for me there is other problem
Thanks
0 Kudos
1 Solution
Judith_W_Intel
Employee
119 Views

I see that you are using our bi-endian compiler.

The -pe-dir-rule option takes three arguments -- a regular expression, a prolog file, and a epilog file. You did not specify a regular expressionand you did not put thearguments inquotes.

Something like this works:

icc -big-endian -pe-dir-rule="/usr/intel /usr/intel/prolog.h /usr/intel/epilog.h" a.c


View solution in original post

3 Replies
Judith_W_Intel
Employee
120 Views

I see that you are using our bi-endian compiler.

The -pe-dir-rule option takes three arguments -- a regular expression, a prolog file, and a epilog file. You did not specify a regular expressionand you did not put thearguments inquotes.

Something like this works:

icc -big-endian -pe-dir-rule="/usr/intel /usr/intel/prolog.h /usr/intel/epilog.h" a.c


View solution in original post

Kittur_G_Intel
Employee
119 Views
Thanks Judy. I've also routed this post link to Xinan, my Intel Peer who handles the Bi-endian compiler as an FYI.

-regards,
Kittur
119 Views
Thanks
BTW, regular expression of -pe-dir-rule doesn't have not the same effect with -Iheader_file_path.
Reply