Code::Blocks Forums

User forums => Help => Topic started by: Lory88 on March 24, 2013, 11:16:06 pm

Title: Create a portable executable
Post by: Lory88 on March 24, 2013, 11:16:06 pm
Hi guys. I need to get a portable executable from a Fortran working program on Windows 7s. In particular, I need something like an icon such that if I double click in it the program stars even if C::B is not open or not installed on the computer. If I double click on the executable produced by C::B a window error appears on the screen saying that a .dll file is missing (libgcc_s_sjlj-1.dll). From what I've read on the Internet the problem is due to the fact that I'm building the project in Debug mode and I should change it to Release mode. But if I do in that way I obtain an error even when running the program in C::B. In particular I get:
" Fortran runtime error: Integer overflow when calculating the amount of memory to allocate "
Any idea for solving this problem? Is it right that I need to build the file in Realese mode?

Thank you!
Title: Re: Create a portable executable
Post by: MortenMacFly on March 25, 2013, 07:09:38 am
Is it right that I need to build the file in Realese mode?
No. But you are in the wrong forum. This forum is dedicated to answer questions related to Code::Blocks, not general programming. You agreed to that when registering here.

In addition only a very few people here use forum - you should definitely try a Fortran related forum.
Title: Re: Create a portable executable
Post by: Jenna on March 25, 2013, 07:31:30 am
In addition only a very few people here use forum fortran - you should definitely try a Fortran related forum.