At this point, I've worked through the problems. Code::Blocks will
produce a "Hello World" project, compile and run it, and not produce
error messages.
I didn't have to modify any Windows path statements while installing
G95. (This is contrary to the manual, which I presume is older than
the installation script file.)
I did have to download GDB.exe and install it in the bin directory
produced by G95 installation to make Code::Blocks work with G95.
(From
ftp://ftp.equation.com/gdb/32/gdb.exe .)
I have my G95 installation under a Fortran directory ("D:\FORTRAN").
I had to alter the Code::Blocks compiler directory settings to point
to and recognize G95 as the sole compiler I plan to use with
Code::Blocks.
I also have Code::Blocks under the "D:\FORTRAN" directory under the "D:
\FORTRAN\FortIDE" sub-directory.
I had to point to the GDB.exe debugger file under the bin directory in
Code::Blocks to eliminate the Code::Blocks errors regarding not
finding a debugger.
(I have no idea how what I understand to be a C oriented debugger will
work with Fortran, based on some of what I glanced on the web while
searching for GDB.exe.)
Long story kept short, G95 and Code::Blocks seem to work together at
the moment, with a very basic Fortran project, to generate an
executable that runs. I haven't encountered any debugger errors, so I
can't comment on the appropriateness of the GDB.exe debugger choice.
Notes:
1. G95 appears to produce the necessary path statements using the new
installer. Ignore path statement additions that the user is said to
need to add to Windows XP. I didn't have to add even one path
statement.
2. When setting up Code::Blocks, be sure to download the GDB.exe
debugger, unless you already have it on your system due to some other
GNU/MING software download. I found it at:
ftp://ftp.equation.com/gdb/32/gdb.exe
. Copy it from your download directory and paste it into the "bin"
directory produced by G95 installation. (The "bin" directory is where
G95 places the G95.exe executable file.)
3. Follow menu of Code::Blocks through: settings->compiler->Toolchain
Executables and select the G95 compiler, then press the "auto-detect"
button to find the directory that you've used.
4. Follow menu of Code::Blocks through: settings->compiler then
click on "default" in menu tree on left and on the page that appears
select the three dots button and choose the directory into which you
placed GDB.exe (the debugger executable) file. This should be the
"bin" directory produced by G95 installation, per point 2 above.
5. Note:If you load a project that you create in Code::Blocks then
follow the menu of Code::Blocks through: file->properties, then click
on the "Advanced" tab of the page that pops up, you'll also find
another location where you'll need to specify G95 as the compiler for
a "Custom Build", should you ever need one.
6. This may seem complicated to some, but it's really rather easy to
set up G95 and Code::Blocks if you know that you will need GDB.exe and
if you know where to go in Code::Blocks to make the first project that
you produce compatible with G95, to avoid linker errors that claim
that the proper compiler can not be found. If you "jump the gun" with
this process of careful set-up, you'll wind up with a project that you
won't be able to compile without producing errors that may state that
the designated compiler can't be found on your system (because you
never specified G95). (I erased my first "Hello World" produced with
that error, which, by the way, is automatically produced by
Code::Blocks when you specify a basic project, making it ("Hello
World") a good test subject to see if you've managed to get
Code::Blocks working with G95. Just choose a "Fortran Project" using
the File->New -> Project menu sequence and Code::Blocks will write you
a very minimal version of "Hello World" for use as test code.)
7. I still have to set-up my dictionary for Code::Blocks....
DJV
> On 5/14/12, Del Ventruella <
ventrue...@gmail.com> wrote:
>
>
>
>
>
>
>
> > I've got very slow dial-up.
>
> > I am responding at a different location, where I was able to download
> > using a high speed connection earlier this morning. It appears to
> > download and install to my thumb drive without any delays. I'm going
> > to try to use the version that was just uploaded for use on XP. I
> > hope the installation process is substantially automated.
>
> > (My impression is that my cheap dial-up is set up to permit an early
> > burst of nearly 50 KB/s to download web pages, but that it then slowly
> > reduces accessible bandwidth for longer downloads. It may even
> > completely break the connection after a certain amount of data has
> > been transmitted to reduce bandwidth access, which terminates my
> > download. Either that, or Google's server is set to lock out very
> > slow connections after a certain time to prevent access to the server
> > from being blocked by too many such connections. I don't know. IT
> > isn't my thing.)
>
> > DJV
>
> > On 5/14/12, Robert Funnell <
robert.funn...@mcgill.ca> wrote:
> >> I just downloaded it successfully. It was very quick (a couple of
> >> seconds) and complete.
> >> What kind of Internet connection are you using?
>
> >> On Mon, 14 May 2012, Del Ventruella wrote:
>
> >>> You know. It's odd.
>
> >>> I just tried to download the 0.8 version (the latest) of C::B, and I
> >>> can't get the download to work again. It stops after downloading a
> >>> 1.62 MB file. The Google download shows the file as being 16.3 MB.
> >>> That's a ten times difference.
>
> >>> Once again, I can't extract from the file that is downloaded.
>
> >>> DJV
>
> >>> On 5/14/12, Del Ventruella <
ventrue...@gmail.com> wrote:
> >>>> Thank you!
>
> >>>> I'm trying to download again from the Google project page now.
>
> >>>> DJV
>
> >>>>> On 14 May 2012 05:56, Del Ventruella <
ventrue...@gmail.com> wrote:
>
> >>>>>> Correction. That is where I've been downloading to.
>
> >>>>>> I've been downloading from:
>
> >>>>>>
http://darmar.vgtu.lt/index.php/cbdownload .
>
> >>>>>> This is the source that produces the errors when I try to download
> >>>>>> from it via dial-up, then highlight all of the files in the zipped
> >>>>>> folder that results (a zipped folder often noticed after a disconnect
> >>>>>> or a sudden end to the download with no apparent reason). When I
> >>>>>> attempt to decompress the downloaded files into my Fortran directory,
> >>>>>> I am informed that the
> >>>>>> download is faulty, or that there was an unexpected end of file
> >>>>>> encountered. It simply doesn't work. (The download becomes ever
> >>>>>> slower as it progresses, which seems a bit odd to me.)
>
> >>>>>> Thank you for any assistance that you provide in my effort to
> >>>>>> identify
> >>>>>> a functioning Code::Blocks for Fortran for Windows XP download
> >>>>>> source.
>
> >>>>>> On 5/13/12, Del Ventruella <
ventrue...@gmail.com> wrote:
> >>>>>>> Correction. That't where I've been downloading to.
>
> >>>>>>> I've been downloading from:
>
> >>>>>>>
http://darmar.vgtu.lt/index.php/cbdownload .
>
> >>>>>>> This is the source that produces the errors when I try to download
> >>>>>>> from it, then highlight all the files in the zipped folder and
> >>>>>>> decompress them into my Fortran Directory. It tells me that the
> >>>>>>> download is faulty, or that there was an unexpected end of file
> >>>>>>> encountered.
>
> >>>>>>> On 5/13/12, Del Ventruella <
ventrue...@gmail.com> wrote:
> >>>>>>>> Does anyone have a reliable link from which I can download
> >>>>>>>> Code::Blocks Fortran for Windows XP?
>
> >>>>>>>> I tried the following, but the download keeps terminating before
> >>>>>>>> what
> >>>>>>>> is supposed to be the end of file. When I try to extract to my
> >>>>>>>> Fortran directory, I get a message asserting that the download is
> >>>>>>>> faulty. I've attempted this several times today, and the download
> >>>>>>>> is
> >>>>>>>> always said to be damaged or faulty when I try to extract to my
> >>>>>>>> directory. I've been downloading from:
>
> >>>>>> file:///D:/Documents%20and%20Settings/Del%20Ventruella/My%20Documents/Downl oads/CodeBlocks_Fortran_v0.7.1_Win32.zip
>
> >>>>>>>> Thank you.
>
> >>>>>>>> On 5/13/12, Del Ventruella <
ventrue...@gmail.com> wrote:
> >>>>>>>>> Does anyone have a reliable link from which I can download
> >>>>>>>>> Code::Blocks Fortran for Windows XP?
>
> >>>>>>>>> I tried the following, but the download keeps terminating before
> >>>>>>>>> what
> >>>>>>>>> is supposed to be the end of file. When I try to extract to my
> >>>>>>>>> Fortran directory, I get a message asserting that the download is
> >>>>>>>>> faulty. I've attempted this several times today, and the download
> >>>>>>>>> is
> >>>>>>>>> always said to be damaged or faulty when I try to extract to my
> >>>>>>>>> directory. I've been downloading from:
>
> >>>>>> file:///D:/Documents%20and%20Settings/Del%20Ventruella/My%20Documents/Downl oads/CodeBlocks_Fortran_v0.7.1_Win32.zip
>
> >>>>>>>>> Thank you.
>
> >>>>>>>>> On 5/13/12, Walt Brainerd <
walt.brain...@gmail.com> wrote:
> >>>>>>>>>> If you like Code::Blocks Fortran after looking at it, but still
> >>>>>>>>>> have
> >>>>>>>>>> some
> >>>>>>>>>> problems, you might look at the Fortran Tools (
fortran.com). It
> >>>>>>>>>> includes
> >>>>>>>>>> the Code::Blocks IDE and gfortran. Things have been preset so it
> >>>>>>>>>> is
> >>>>>>>>>> easy to install and run. There is documentation on how to install
> >>>>>>>>>> it
> >>>>>>>>>> and run both using the IDE and command line. Also how to build
> >>>>>>>>>> static
> >>>>>>>>>> and dynamic libraries. Plus a couple of Fortran books in PDF
> >>>>>>>>>> format.
>
> >>>>>>>>>> On Sat, May 12, 2012 at 12:33 PM, DJV <
ventrue...@gmail.com>
> ...
>
> read more »