News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

fortran and linker command lines

Started by Librarylinker, March 12, 2020, 12:49:35 PM

Previous topic - Next topic

Librarylinker

Hi,

I have a project I've created using VS and intel fortran compiler.

I'd like to replicate it using Code Blocks IDE and GNU fortran compiler.

My doubt is: where do I write fortran and linker command lines in code blocks?
I'd like to just copy and paste the ones generated by VS (and intel fortran compiler).

Is it possible? Because I would just like to copy and paste it, because I've had a hard time linking the libs (and ignoring libifcoremt.lib).

fortran command line:
/nologo /debug:full /Od /heap-arrays0 /extend_source:132 /warn:interfaces /module:"x64\Debug\\" /object:"x64\Debug\\" /Fd"x64\Debug\vc150.pdb" /traceback /check:bounds /check:stack /libs:dll /threads /dbglibs /c

Liker command line:
/OUT:"x64\Debug\HybridMixed.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:\Users\ferna\Documents\Mestrado\Dinâmica\Programa\testeFelipe\HybridMixed\HybridMixed\Include" /NODEFAULTLIB:"libifcoremt.lib" /MANIFEST /MANIFESTFILE:"x64\Debug\HybridMixed.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:\Users\ferna\Documents\Mestrado\Dinâmica\Programa\testeFelipe\HybridMixed\HybridMixed\x64\Debug\HybridMixed.pdb" /SUBSYSTEM:CONSOLE /STACK:100000000 /IMPLIB:"C:\Users\ferna\Documents\Mestrado\Dinâmica\Programa\testeFelipe\HybridMixed\HybridMixed\x64\Debug\HybridMixed.lib" BLASd.lib LAPACKd.lib MATGENd.lib

stahta01

Doing both of those changes at once will likely not work or waste a lot of time!

Figure out the commands needed to build using "GNU FORTRAN compiler" compiler and we can help you convert it to Code::Blocks.

You might search for ways to use the Intel FORTRAN compiler under Code::Blocks. I saw some results on Google; but, since I do not use FORTRAN they might not be good directions.

Tim S.

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

stahta01

#2
Warning: when you try using Code::Blocks use only paths having ASCII characters without any spaces.

Edit: It is possible that "GNU FORTRAN compiler" also have the same path rules.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]