forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 35 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: corrupt object module when compiling huge program with debug
ljfarrugia

Replies: 26
Views: 3567

PostForum: Support   Posted: Fri Dec 10, 2021 2:37 pm   Subject:
I called it test1.f90
so the command line calls were
ftn95 test1.f90 /link or
ftn95 test1.f90 /link/debug

I trust this is unambiguous.
Louis
  Topic: corrupt object module when compiling huge program with debug
ljfarrugia

Replies: 26
Views: 3567

PostForum: Support   Posted: Fri Dec 10, 2021 1:33 pm   Subject:
Of course I had to rename the file in your post and I used the actual name I had given it and not *.f90
  Topic: corrupt object module when compiling huge program with debug
ljfarrugia

Replies: 26
Views: 3567

PostForum: Support   Posted: Fri Dec 10, 2021 1:30 pm   Subject:
sorry for the confusion I meant I used the command line ftn95 *.f90
My code is still in 77 format rather than f90, so that's my default
  Topic: corrupt object module when compiling huge program with debug
ljfarrugia

Replies: 26
Views: 3567

PostForum: Support   Posted: Fri Dec 10, 2021 1:27 pm   Subject:
I can confirm that with 6.35 I get the same result as yourself, but with 8.0 and 8.82 I have no problem
  Topic: corrupt object module when compiling huge program with debug
ljfarrugia

Replies: 26
Views: 3567

PostForum: Support   Posted: Fri Dec 10, 2021 12:54 pm   Subject:
I'm using FTN95 ver 8.82.0 with command line
ftn95 *.f /link or
ftn95 *.f /link/debug
  Topic: corrupt object module when compiling huge program with debug
ljfarrugia

Replies: 26
Views: 3567

PostForum: Support   Posted: Fri Dec 10, 2021 12:20 pm   Subject:
Dear mecej4
Thats very strange. I took that code and it compiles, links and runs without error. If compiled with /undef/debug it fails of course, because the variables in the module have not been exp ...
  Topic: corrupt object module when compiling huge program with debug
ljfarrugia

Replies: 26
Views: 3567

PostForum: Support   Posted: Thu Dec 09, 2021 9:20 pm   Subject:
Dear Paul
The compiler did not report that the .MOD file was missing, it just hung up.
This was when I created a debug version using the /debug command line flag.

If I created a standard executab ...
  Topic: corrupt object module when compiling huge program with debug
ljfarrugia

Replies: 26
Views: 3567

PostForum: Support   Posted: Thu Dec 09, 2021 9:16 pm   Subject:
Hello
I wasn't complaining that there was no object file for module COM3, but that there was no .MOD file after compilation. If you are compiling code which spreads over many files, I suppose these m ...
  Topic: corrupt object module when compiling huge program with debug
ljfarrugia

Replies: 26
Views: 3567

PostForum: Support   Posted: Thu Dec 09, 2021 6:41 pm   Subject:
Hello
Still trying to track source of the problem. One thing I don't understand is why some .MOD files for modules do not seem to be created and which may be the cause

The code below is taken from ...
  Topic: handle to window created using create_window
ljfarrugia

Replies: 7
Views: 2778

PostForum: ClearWin+   Posted: Tue Dec 07, 2021 9:03 pm   Subject:
Thanks! that does the trick
Louis
  Topic: handle to window created using create_window
ljfarrugia

Replies: 7
Views: 2778

PostForum: ClearWin+   Posted: Tue Dec 07, 2021 1:32 am   Subject:
Hello
I use the code below to try and see if a window created by another application using createWindow with the caption 'PLATON - Dialog Window'
exists, but the function always returns zero, even i ...
  Topic: corrupt object module when compiling huge program with debug
ljfarrugia

Replies: 26
Views: 3567

PostForum: Support   Posted: Mon Dec 06, 2021 9:59 pm   Subject:
Thanks
I use the command line. Are you suggesting that using smaller files will get round the corrupt object file problem? I'm not really clear why this is happening.
Louis
  Topic: corrupt object module when compiling huge program with debug
ljfarrugia

Replies: 26
Views: 3567

PostForum: Support   Posted: Mon Dec 06, 2021 7:52 pm   Subject:
Thanks Paul
The source file compiles without any problems if I do not use the debug flag. Is the size of the source file the issue here? Its just under 165,000 lines of code. Would splitting it up in ...
  Topic: handle to window created using create_window
ljfarrugia

Replies: 7
Views: 2778

PostForum: ClearWin+   Posted: Mon Dec 06, 2021 7:47 pm   Subject:
Thanks
is the caption argument for create_window the same as thing as lpClassName? In other words could another application use that name with FindWindowsA to see if the created windows is still op ...
  Topic: corrupt object module when compiling huge program with debug
ljfarrugia

Replies: 26
Views: 3567

PostForum: Support   Posted: Mon Dec 06, 2021 7:24 pm   Subject: corrupt object module when compiling huge program with debug
Hello
When trying to compile a very large program (source code primarily in one large file) in debug mode with the /debug compiler option, it fails with a message that the object module is corrupt. I ...
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group