Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Link line length

drb
Beginner
1,501 Views
Hello,

I am trying to compile our software using the intel compilers. Nearly there! However, our software is compiled from many different source files, each of which have to be linked in. The directory for the object files is not too long (c:xxxxxxxxxxxxxxxxx) but when I have all my files (too many to count!) I cannot link the objects together. However, if I move them to c: t, for example, then the program compiles. Is there any options to extend this link line? I appreciate that this is probably more to do with .NET rather than Intel, but I was hoping that someone may have the answer here.

Many thanks

Ben
0 Kudos
6 Replies
Steven_L_Intel1
Employee
1,501 Views
How are you specifying these objects in the build? Are you doing this in the IDE or from the command line?

Would putting the objects in a static library help? I've built projects with hundreds of modules without problems.
0 Kudos
drb
Beginner
1,501 Views
Thanks for the reply. This is specified through the ide. We have just over 1000 object files that need to be linked together. The project which was in CVF and Vis Studio C++ worked fine, now I have to split it up into two projects to handle the different languages. I would prefer not to have to create more static libraries than is necessary. I guess this is a limitation of the .NET ide, or the linker, but I cant seem to find a way of extending the line length for the linker command.

Thanks again

Ben
0 Kudos
Steven_L_Intel1
Employee
1,501 Views
What version of Intel Fortran are you using? (8.?.???). I vaguely recall we had an issue like this in the past and fixed it.
0 Kudos
drb
Beginner
1,501 Views
Sorry, I should have written this originally. The version I am using is 8.1.018.

Thanks

Ben
0 Kudos
Steven_L_Intel1
Employee
1,501 Views
Please try the latest version - 8.1.031 (or 8.1.030 if 031 is not yet available.)
0 Kudos
drb
Beginner
1,501 Views
Thanks Steve, looks like that has been fixed in the latest version (030). Makes my life a _lot_ easier!

Cheers

Ben
0 Kudos
Reply