Как я переопределяю флаги компиляции perl при создании модулей?

Мы недавно сделали эту миграцию на работе. Я настоятельно рекомендую:

  1. Просто добавляют новый код от VSS, получают удар, что pre-svn история должна будет остаться в старом репозитории VSS.
  2. , Если Ваш репозиторий VSS все еще используется после начального дампа кода, переместите изменения с помощью Ответвления Поставщика . Т.е., предположите, что Ваш репозиторий VSS является поставщиком, и используйте датированные теги для слияния изменений в репозиторий SVN.

Немного больше детали здесь .

6
задан Louis Munro 20 October 2009 в 01:49
поделиться

2 ответа

In general, trying to override the settings in Config.pm is an exercise in futility. The more normal reason for wanting to change them is to change the compiler on a machine where Perl was compiled with a non-GNU compiler but you want to use GCC. This is so hard to do that it is by far simpler to rebuild Perl with your chosen compiler, install all the auxilliary modules, and then use build your chosen new module rather than try to fight 'the system'.

You can therefore do one of two things - build your GNU Readline library with the same options that Perl would use, or build your Perl with the options used to build GNU Readline. Trying to bend one to meet the other is not recommended if you value your machine and the hair on your head (please don't hit the machine that hard - it is the software you should be frustrated with, not the hardware; Mac's are nice!).

Of the two options, rebuilding GNU Readline is probably the easier - it is smaller and has fewer add-ons.

2
ответ дан 17 December 2019 в 20:33
поделиться

Информация, представленная в разделе Hintsfile Support документации, может быть актуальной, хотя я не пробовал ее.

0
ответ дан 17 December 2019 в 20:33
поделиться
Другие вопросы по тегам:

Похожие вопросы: