You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Marcel Denia bb06539632 perl: Set gccversion configuration symbol correctly 9 years ago
..
README.config perl: Set gccversion configuration symbol correctly 9 years ago
architecture.config perl: Switch to split configuration files 9 years ago
arm.config perl: Switch to split configuration files 9 years ago
armeb.config perl: Switch to split configuration files 9 years ago
base.config perl: Switch to split configuration files 9 years ago
i486.config perl: Switch to split configuration files 9 years ago
libc.config perl: Enable crypt() for all libc implementations 9 years ago
mips.config perl: Switch to split configuration files 9 years ago
mips64.config perl: Switch to split configuration files 9 years ago
mipsel.config perl: Switch to split configuration files 9 years ago
misc.config perl: Set gccversion configuration symbol correctly 9 years ago
perl-run_tests.sh perl: Improve run_tests.sh 9 years ago
perlconfig.pl perl: Switch to split configuration files 9 years ago
powerpc.config perl: Switch to split configuration files 9 years ago
signal.config perl: Switch to split configuration files 9 years ago
threads.config perl: Switch to split configuration files 9 years ago
version.config perl: Update extensions configuration symbol 9 years ago
x86_64.config perl: Switch to split configuration files 9 years ago

README.config

-- Perl configuration --

Perl uses a huge configuration file, normally generated via the Configure script
at build-time. This fails when cross-compiling though, so we need to supply our
own.

We're using perlconfig.pl to piece together the final configuration from a bunch
of configuration files(all ending in .config). Please refer to perlconfig.pl's
POD for information on usage and syntax.

Throughout the files, you will see a bunch of references to private symbols with
the prefix "owrt". These are used to control output in an effort to both
simplify writing configuration files, as well as to provide switchable options
to select the feature set of the resulting perl installation.

The following will be a summary/quick reference of all private symbols we're
currently using:

Passed via architecture configuration file(mipsel.config, i486.config, ...)
---------------------------------------------------------------------------
Symbol Values Description
owrt:bits 32/64 Target's native word length.
owrt:endian little/big Target's endianness.
owrt:arch mipsel, i486, ... Target's architecture name.
owrt:sig_count 64/128 Number of signals the target
provides(NSIG - 1).
owrt:sigs * Symbolic names of the first 32 signals
this architecture provides, in numeric
order. Seperated by whitespaces.
owrt:sig_name_extra * Symbolic names of any additional signals
this architecture provides after
owrt:sig_count. Seperated by
whitespaces.
owrt:sig_num_extra * Numeric values associated with the
signal names provided in
owrt:sig_name_extra. Seperated by
whitespaces.

Passed via command line
-----------------------
Symbol Values Description
owrt:libc glibc/uclibc/musl Which C library implementation is in
use.
owrt:threads yes/no Whether to enable threading support.
owrt:ipv6 define/undef Whether to enable IPv6 support.
owrt:target_cross * Target architecture's host triplet.
owrt:target_cc * C compiler to use.
owrt:gccversion * target_cc's version number.
owrt:cflags * Additional C compiler flags.
owrt:ldflags * Additional linker flags.
owrt:staging_dir * Same as OpenWRT buildroot's
$(STAGING_DIR).
owrt:host_perl_prefix * host-perl installation prefix.

Passed via version.config
-------------------------
Symbol Values Description
owrt:perllibpath * Path to perl library files, from the
target's point of view.