Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
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.
29280 Discussions

compilation error: errno=13 for architecture i386.

Robert_Gamache
Beginner
1,275 Views

When compiling certain codes I get the following error:  ld: can't open output file for writing: New-code-test.exe, errno=13 for architecture i386.  

 

 

0 Kudos
3 Replies
Kevin_D_Intel
Employee
1,275 Views

Try inspecting the permissions where the executables are written to ensure they permit your writing to them.

There was at least one variant (here) on that error (sans the errno=13) that related to directory permissions.

0 Kudos
Robert_Gamache
Beginner
1,275 Views

Thank you, it was a permission problem.  sudo chmod -R g+rwx . in the directory in question fixed the problem

0 Kudos
Kevin_D_Intel
Employee
1,275 Views

Glad to hear that. Thank you for following up. That will be helpful for someone down the road.

0 Kudos
Reply