Author Topic: FORTRAN  (Read 16447 times)

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4787
  • Karma: +99/-1
    • View Profile
Re: FORTRAN
« Reply #30 on: March 15, 2022, 04:38:28 pm »
I ran the 940 command to build xul in the 920 obj dir, it worked but produced an xul.dll of only 73.5 MB's instead of the usual 461MB's. Testing, it does work.
I'll have to reboot (obj dir is locked) and try the opposite

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4787
  • Karma: +99/-1
    • View Profile
Re: FORTRAN
« Reply #31 on: March 15, 2022, 06:33:15 pm »
Doing the opposite results in the same failure. Not sure what the problem is, possibilities include a bad static lib, a bad list of obj files or something to do with coming up with the exports list for xul.
The build deconstructs static libs to object files and the export list is produced with some magic involving the stabs info.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: FORTRAN
« Reply #32 on: March 16, 2022, 12:16:07 am »
GCC 11.2.0 for testing....https://smedley.id.au/tmp/gcc-11.2.0-os2-20220316.zip

Essentially the same patches as the 9.4.0 and 10.3.0 builds...

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: FORTRAN
« Reply #33 on: March 16, 2022, 09:33:56 am »
I've got some kind of mis-configuration

{0} gfortran -Zomf -Zmap hello.f90 -o hello.exe
ilink.exe: No such file or directory

Seems you don't have ilink.exe the system path.You're better off with wlink anyway, but need:
Code: [Select]
set EMXOMFLD_TYPE=WLINK
set EMXOMFLD_LINKER=wl.exe
in you're environment,  and of course, a copy of wl.exe

Cheers,

Paul

Neil Waldhauer

  • Hero Member
  • *****
  • Posts: 1024
  • Karma: +24/-0
    • View Profile
    • Blonde Guy
Re: FORTRAN
« Reply #34 on: March 16, 2022, 07:50:46 pm »
Yes, that was it. Hello.exe now builds under GCC940 and is about 500 K.  :)
Expert consulting for ArcaOS, OS/2 and eComStation
http://www.blondeguy.com