On 13 March 2024 19:43:27 CET, Steve Kargl <s...@troutmask.apl.washington.edu> wrote: >On Wed, Mar 13, 2024 at 12:05:16PM +0000, Ken Woolridge wrote: >> >> When I attempt to link my test program (FF.F90) which calls UPPER_CASE (an >> assembly routine) I get the following error: >> >> C:/Program >> Files/GCC/bin/../lib/gcc/i686-pc-mingw32/13.2.0/../../../../i686-pc-mingw32/bin/ld.exe: >> FF.OBJ:FF.F90:(.text+0x10c): undefined reference to `upper_case_' >> collect2.exe: error: ld returned 1 exit status > >Well, does your archive contain a symbol name upper_case_? >
See -funderscoring (sp)? I think nowadays, you would use ISO_C_BINDING to describe the interface, though. I'm pretty sure that is documented somewhere..