summaryrefslogtreecommitdiff
path: root/packages/perl/perl-5.8.7/config.sh-sh4-linux
AgeCommit message (Collapse)AuthorFiles
2006-10-03perl 5.8.7: Enable threading in perl for sh4 to fix modules thatJamie Lenehan1
check for threading availability. Since perl-native is used to compile modules, and perl-native is built with threading enabled, any modules that check for threading think that it's available. However when you attempt to use the module on the target it complains about missing symbols (those related to threading). The two options to fix this are to enable threading in perl or to disable it in perl-native. I've tested the later and will use that since I have some modules that required threading. This change is still needed for all the other targets.
2006-09-25perl 5.8.7: Fix the perl shared library generation for sh3/sh4Jamie Lenehan1
targets: - You cannot link using LD on sh3/sh4, since ld fails to link in the hidden library of weak symbols that is needed. Ccc knows about this library and correctly links it in. The generate_config_sh script was replacing the configred linker with LD from the environment and the soname patch was passing parameters directly to LD which need to be passed differently when linking with gcc. - Any code to go in shared libraries must be compiled with -fPIC, which while present in the config file was again being replaced from the environment by the generate_config_sh script. Both these patches probably should be ok for all targets, but they would definately need run-time testing. So they are just patched in for sh3 and sh4 for now. Also removed the old code I added not to install the shared library if its not configured since its configured for all targets after this change.
2006-06-19perl 5.8.7: Add support for building on sh4 and sh3. Tested several sh4Jamie Lenehan1
programs on the target and they work fine. Sh3 is untested but should be the same. No perl shared library as toolchain issues prevent this. See bug# 960 for details. Should solve bug# 960.