Date: Tue, 7 Jun 94 09:47:42 -0400 From: U-E59264-Osman Buyukisik To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: cross-compiler-problems Hi, I have a cross compiler built on hp710 for djgpp. A couple of c programs like GOFER compiled linked and when downloaded to pc worked. I have a fortran program for which I wanted to use this. I got f2c and compiled libs F77 and I77. When downloaded the executable just produces: argc 1 argv(1)[(null)] argv(2)[OS=DRDOS] Usage: c:/helios/helios.exe dir-path I did not put those in my program, and they do not seem to exist in the f2c libs either. Where did they come from, and why does it quit right away? I have a print statement at the begining of the program, and never see it. I tested a small "hello world" fortran program and when I d/l'd .o file and built the executable on the pc (same procedure as above), it worked. Thanks in advance. Osman P.S: when I completely build the fortran programs on hp710, on the pc it dies with seg violation, seems that I have problems with f2c libs on my w/s. That's why I just compile on the w/s and d/l .o files. PPS: if give args : helios c:/helios I get : argc 2 argv(1)[c:/helios] argv(2)[(null)] Checking [c:/helios.] --> 40700 . ..: file not found src: file not found ... same for all the files/dirs in that subdirectory Checking {c:/helios..] --> Checking [c:/heliossrc] .... alot more similar stuff.. hp710 hpux9.03 gcc 2.5.8 target was i386-ibm-go32 PC ibm ps/2 6M ram DRDOS6 djgpp gcc 2.5.8 go32 1.11 maint5 go32 tells me 5024kb VCPI 17264KB swap space.