From: "Alexander M." <mamaich@u...>
Date: Mon Aug 23, 2004 8:18 am
Subject: G77 binaries. (Re: newLISP compile possible?)
> Asko, I'll test LuaX as soon as I have time. I'm still trying to
develop
> a numerical package for Lua (that I'll try to port to wince if I get
g77
> to work), and I'll give LuaX a chance as soon as I'm finished.
I've uploaded a compiled Cygwin version of G77 compiler and other
tools. Compiler is probably working.
http://mamaich.kasone.com/g77_objc.rar 6,249,571 bytes.
Archive contains all GNU compilers I was able to build and all
libraries I have. It also has an updated static libc.a with a test
implementation of fork() function, though it is still unfinished.
To install - decompress it to your /usr/ directory (archuive already
contains "local" subdirectory. It would overwrite some of your files,
so do the backup.
To compile ObjectiveC program:
gcc test.m -lobjc
To compile G77 program you should edit "specs" file and remove
"-include fixincl.h" from it (F771 does not support this switch), then
run it as following:
gcc hello.f -lfrtbegin -lg2c -target=con
You have to specify "-target=con" when main() function is located
inside library (this is true for G77). In such case compiler cannot
guess the correct target.
The archive already contains a modified "specs" file. If you use it,
then when you compile normal C/C++ programs you have to add " -include
fixincl.h" to the end of every GCC command line.
Later I'll modify G77 sources so that it would ignore "-include"
command line.
Archive contains 2 examples.
It also contains a Java compiler and an updated GDB debugger. I have
not tested them.