Since I don't have icc.exe installed yet the error is kind of obvious.
[C:\Projects\CAR]nmake -f car.mak
Operating System/2 Program Maintenance Utility
Version 4.00.001 Oct 4 2001
Copyright (C) IBM Corporation 1988-2001
Copyright (C) Microsoft Corp. 1988-1991
All rights reserved.
sc -p -mnotc -maddstar -mnoint -S128000 -C128000 -s"def" car.idl
sc -p -mnotc -maddstar -mnoint -S128000 -C128000 -s"ih" car.idl
sc -p -mnotc -maddstar -mnoint -S128000 -C128000 -s"h" car.idl
icc -c -Gd- -Se -Re -Ss -Ms -Gm+ -Ge- -I. -Fo".\car.obj" car.c
SYS1041: The name icc is not recognized as an
internal or external command, operable program or batch file.
NMAKE : fatal error U1077: 'C:\OS2\CMD.EXE' : return code '1041'
Stop.
The other things that called my attention is that the make file of the sample called "ibmsamp.inc".
I would like to try to follow the procedure without the make file to learn which are to common steps on compiling a SOM application.
And if GCC can also be used it will be great. It can be interesting to know how to replace "icc -c -Gd- -Se -Re -Ss -Ms -Gm+ -Ge- -I. -Fo".\car.obj" car.c" with gcc..
I'm using the latest gcc included on the RPM/YUM repo. (2-01-2015 2:08p 337,172 / 4.9.2.1-3)
Regards