This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
ask g77
- From: Bayu Notonegoro <tuxkid at softhome dot net>
- To: gcc at gcc dot gnu dot org
- Date: 24 Sep 2003 20:07:23 +0700
- Subject: ask g77
Hello there,
I want ask something about g77.
I have a called tes1.for, here's the code:
INTEGER S, L
WRITE(*,'(24(/))')
WRITE(*,*)'Menghitung Luas BJsangkar'
WRITE(*,'(A,\)')'INPUT SISI:'
READ(*,'(I2)')S
L=S*S
WRITE (*,10)S,L
10 FORMAT(1X,'Luas dari bujur sangkar ',I2,' adalah ',I5)
END
When I try to compile them using g77 -c tes1.for, it don't work. I asked
my friend who used Windows to compile this code, he said it works (don't
what compiler he used). I believe my friend don't lie, so can you help
me? this the first time I use g77, so any help will be appreciate.
I don't know what to do, but I already try changing the extension in .f,
.F, .FOR, it still don't. Help me please.
Thanks
--
bn
ps: I'm sorry if my english is terible.