- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am using the Intel Visual Fortran compiler within Microsoft Visual Studio 2005, and on linking get the error "The input line is too long..." reported from xilink. On looking at the build log the command line is extremely long. Is this a bug, and can something be done about this (e.g. a workaround)?
Thanks.
Nick
I am using the Intel Visual Fortran compiler within Microsoft Visual Studio 2005, and on linking get the error "The input line is too long..." reported from xilink. On looking at the build log the command line is extremely long. Is this a bug, and can something be done about this (e.g. a workaround)?
Thanks.
Nick
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The usual way to get around Microsoft command line length limit is with a multi-step build. For example, link groups of objects into larger objects or libraries, then link them together. You might note that this is often done in open software, for example, in the g++ and gfortran library builds.
I recognize that this tends to defeat the convenience of Visual Studio. There, my colleagues tend to work with large source files containing many subroutines, so that the number of .obj files required stays within Microsoft limits. Others prefer to group objects into .dll each of which is under the limit.
I recognize that this tends to defeat the convenience of Visual Studio. There, my colleagues tend to work with large source files containing many subroutines, so that the number of .obj files required stays within Microsoft limits. Others prefer to group objects into .dll each of which is under the limit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. It's a shame though, as several people will be working with this project, and we never had this problem with CVF.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please report the problem to Intel Premier Support and include what is needed to reproduce the problem.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page