Where is stub.c?

Hi.

In the reference manual, here, it is written:

“In normal usage, a copy is made of the default embedding template .../swipl/include/stub.c . The main() routine is modified to suit your application.”

But this file isn’t included in the SWI-Prolog package, which is distributed by the Ubuntu PPA. It isn’t included in the GIT sources either.

So where is it? Or is the reference manual outdated?

Bye,
Volker

Seems to have been lost over time. Maybe using pl-main.c is a better starting point as it also shows some options to customize the environment, notably for Windows.

Okay, thanks.

Volker