- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've got this problem while I am trying to build fortran in sublime text.
Here is what I wrote in sublime text. It works well except for stack size. When I am trying to compile, it says
ifort: command line warning #10006: ignoring unknown option '/stack:0×1500000000'
Here is my code in sublime, if someone would like to help me with it.
{
"cmd": ["cmd", "/e:on", "/v:on", "/c","ipsxe-comp-vars intel64 vs2012 && ifort ${file} -stack:0×1500000000" ],
"file_regex": "^.*\\\\([0-9A-Za-z_]+\\.[A-Za-z0-9]+)\\(([0-9]+)\\):[ ]+error[ ]+#([0-9]+):[ ]+(.*)$",
"working_dir":"${file_path}",
"selector":"source.f ,source.for ,source.ftn ,source.f90 ,source.fpp ,source.i ,source.i90",
"encoding":"cp936",
"path":"C:\\Program Files (x86)\\Intel\\Composer XE 2013\\bin;${path}",
"variants":
[
{
"name": "Run",
"cmd": ["cmd", "/e:on", "/v:on", "/c", "ipsxe-comp-vars intel64 vs2012 && ifort ${file} && ${file_base_name}"]
}
]
}
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I see two possible problems. First, I think ifort needs a -link switch before the -stack:0x1500000000 switch. Also, your 0x is coming out more like 0× a multiplication operator rather than the letter x. Try to make sure that's not an issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The compiler and the linker do not use the same syntax for specifying the stack size. You can use the /link switch as Repeat Offender stated or you can use the compiler's format:
/F<n> set the stack reserve amount specified to the linker
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page