Re:PH7 – An Embedded Implementation of PHP (C Library)
by stephan10h on Wednesday February 19, 2014 @05:37PM
(#7266950)
This guy is doing it:
http://williamaadams.wordpress.com/2013/03/13/is-that-cool-o...
Re:PH7 – An Embedded Implementation of PHP (C Library)
by ygra on Thursday February 20, 2014 @12:52AM
(#7269131)
ld has a -e argument [−4] (and MSVC's link has /ENTRY [37]). Otherwise, if there is a function with the expected name, calling convention and arguments in the object file I doubt the linker will complain.
[−4] ftp://ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/html_node/ld_24.html
edit: If so I've been doing it wrong for years.