buntyshubho has asked for the wisdom of the Perl Monks concerning the following question:
I was playing around with the source files of perl, downloaded from CPAN. After building a local copy of the interpreter (using ./Configure, make, make-test, make install), I was curious to find which source files actually went into the build itself.
I do not want the files that were provided with the download of source but are not needed for the default build (eg: apollo/netinet/in.h..deleting this file does not affect my build)
I tried a technique that works with normal gcc compilations. In this, I declared a string in all the source files and looked at the Hex dump to find out the strings (and used 'strings' shell command as well). This technique worked successfully on dummy c files that I made for testing. But it does not seem to work on perl source files themselves.
I was wondering if there is any way I can find out all the source files that go into building perl?
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Source files going into perl interpreter during compilation
by Corion (Patriarch) on Jun 21, 2011 at 21:16 UTC | |
by buntyshubho (Initiate) on Jun 21, 2011 at 21:29 UTC | |
|
Re: Source files going into perl interpreter during compilation
by BrowserUk (Patriarch) on Jun 21, 2011 at 22:10 UTC | |
by buntyshubho (Initiate) on Jun 21, 2011 at 22:45 UTC | |
by BrowserUk (Patriarch) on Jun 21, 2011 at 23:04 UTC | |
by choroba (Cardinal) on Jun 22, 2011 at 01:30 UTC | |
by buntyshubho (Initiate) on Jun 22, 2011 at 13:40 UTC |