http://www.perlmonks.org?node_id=1044309


in reply to Re^2: Problem with embedded perl
in thread Problem with embedded perl

I'm not just seeking wisdom: I'd even like to contribute to it :-)

Just found the solution myself: For gcc, I need to pass option -E to the linker (so -Wl,-E to the final compiler-call). The manual page of ld (on Linux) explains why)