In callme.c I have one function:
int callme(int with)
{
if (with == 23)
return 42;
else
return -1;
}
Now I'm trying to compile this using:
$ xlc -qdll -Wc,xplink -Wl,xplink -qexportall -qrent -qlongname -o callme.dll callme.c
IEW2689W 4C40 DEFINITION SIDE FILE IS NOT DEFINED.
FSUM3065 The LINKEDIT step ended with return code 4.
$ _
What am I missing?
The xlclang frontend does not understand -qdll:
$ xlclang -qdll -Wc,xplink -Wl,xplink -qexportall -qrent -qlongname -o callme.dll callme.c
FSUM3277 xlclang: The specified option "-qdll" is not supported.
------------------------------
Volker Birk
p≡p project
https://pEp.software
------------------------------