I thought I had this working some years ago but I'm confused again. :)

When trying to use SDL on iPhone I include:

 {$PASCALMAINNAME SDL_main}

But when I compile I get a linker error:

Undefined symbols for architecture x86_64:
  "_main", referenced from:
     implicit entry/start for main executable
     (maybe you meant: _SDL_main)

Why is this?

Regards,
        Ryan Joseph

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to