On Sat, 29 Dec 2012 16:48:47 -0700, James Van Buskirk <
not_...@comcast.net> wrote:
> "e p chandler" <
ep...@juno.com> wrote in message
> news:bbc1defe-4ee3-4033...@googlegroups.com...
>
>> On Monday, December 10, 2012 2:28:48 PM UTC-5, Arjan wrote:
>
>> > I always liked the feedback of the g95 compiler. The resulting
>> > executables were slow, but many, many more bugs were eliminated
>> > (compared to other compilers) thanks to g95's unforgiving comments
>> > about my code! Today, I saw that Andy seems to have blown new life
>> > into g95 development! Hurray!!
>
>> Yes, some bug fixes appear on the web site. There are new builds but
>> not yet for Linux x86-64 or Windows.
I have used g95 in the past on 32 bit linux and found it usefull. I now
use Linux x86-64. The absence of a build for Linux x86-64 is therefore a
problem for me, so I tried to build one from the source files. As
suggested at:-
http://www.g95.org/source.shtml
I downloaded gcc-4.0.3, even though I have 4.6, and tried to build that
gcc. That version is very old. The files are dated 2006. That web page
says:-
"Run 'make' to build gcc. A full build isn't necessary. If you end up
with libbackend.a, and libgcc.a, you've got enough to build g95. If
libgcc.a isn't present, try 'make libgcc.a'.".
It made libbackend.a, but not libgcc.a and 'make libgcc.a' reported "no
rule for making libgcc.a. I am therefore stuck and have no ideas. Does
anyone have any ideas?
Before trying that I earlier emailed Andy about the Linux x86-64
binaries, but he has not yet replied.
Cheers, Brian.
> I tried downloading g95 and got it to compile a simple console
> program, but failed with a Windows program (-mwindows and WinMain).
> After compensating for the lack of IANY and C_SIZEOF and working
> around a bug with accessibility and a couple of ICEs with TRANSFER
> and the lack of COMPILER_VERSION() and STDCALL name mangling, I
> couldn't seem to get over:
>
> c:/g95/bin/../lib/gcc-lib/i686-pc-mingw32/4.1.2//libf95.a(main.o):(.text+0x32):
> undefined reference to `_MAIN_'
>
> Has anyone gotten a Windows program to function in g95? Maybe
> I did once but forgot how...
>
--
Brian Salter-Duke Melbourne, Australia
My real address is b_duke(AT)bigpond(DOT)net(DOT)au
Use this for reply or followup
"A good programmer can write Fortran in any language"