I just tried using the fortran model suggested. If my source is mycode.c it works okay but if i change it to a mycode.m following the directions I get a link error. In the adlink I added -lobjc. The link error really makes no sense to me as I selected gcc.exe and not ming32++.exe for both c and link steps as the error message says. I created a different model and called it objectiveC, set parameters as suggested, and I get this error message:
Linking console executable: C:\Documents and Settings\Ron\mysrc\console.exe
mingw32-g++.exe: .objs\pro2.5.o: No such file or directory
mingw32-g++.exe: no input files
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
The same program compiles fine using the command line:
'gcc pro.m -o pro -l objc'
Any advise is appreciated