Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 507182
Collapse All | Expand All

(-)perl-5.12.3/Configure (+3 lines)
Lines 1275-1280 Link Here
1275
elif test -n "$DJGPP"; then
1275
elif test -n "$DJGPP"; then
1276
: DOS DJGPP
1276
: DOS DJGPP
1277
    _exe=".exe"
1277
    _exe=".exe"
1278
elif test -f "/kern/cookiejar"; then
1279
: MiNT
1280
    _exe=""
1278
elif test -d c:/. -o -n "$is_os2" ; then
1281
elif test -d c:/. -o -n "$is_os2" ; then
1279
: OS/2 or cygwin
1282
: OS/2 or cygwin
1280
    _exe=".exe"
1283
    _exe=".exe"
(-)perl-5.12.3/ext/DynaLoader/dl_dld.xs (+12 lines)
Lines 116-121 Link Here
116
	goto haverror;
116
	goto haverror;
117
    }
117
    }
118
118
119
    DLDEBUG(1,PerlIO_printf(Perl_debug_log, "dld_link(libm.a)\n"));
120
    if (dlderr = dld_link("/usr/lib/libm.a")) {
121
	SaveError(aTHX_ "dld_link(libm.a): %s", dld_strerror(dlderr));
122
	goto haverror;
123
    }
124
125
    DLDEBUG(1,PerlIO_printf(Perl_debug_log, "dld_link(libc.a)\n"));
126
    if (dlderr = dld_link("/usr/lib/libc.a")) {
127
	SaveError(aTHX_ "dld_link(libc.a): %s", dld_strerror(dlderr));
128
	goto haverror;
129
    }
130
119
    max = AvFILL(dl_resolve_using);
131
    max = AvFILL(dl_resolve_using);
120
    for (x = 0; x <= max; x++) {
132
    for (x = 0; x <= max; x++) {
121
	char *sym = SvPVX(*av_fetch(dl_resolve_using, x, 0));
133
	char *sym = SvPVX(*av_fetch(dl_resolve_using, x, 0));
(-)perl-5.12.3/hints/freemint.sh (+34 lines)
Line 0 Link Here
1
# hints/freemint.sh
2
#
3
# talk to guido@freemint.de if you want to change this file.
4
# Please read the README.mint file.
5
#
6
# misc stuff
7
8
archname="m68k-freemint"
9
10
cccdlflags=' '; # avoid -fPIC
11
ccdlflags="-Wl,-whole-archive -lgcc -lpthread -Wl,-no-whole-archive"
12
13
# libs
14
libpth="$prefix/lib /usr/local/lib /usr/lib"
15
glibpth="$libpth"
16
xlibpth="$libpth"
17
18
ccflags="$ccflags -D_GNU_SOURCE"
19
libswanted='m dld'
20
dl_src='dl_dld.xs'
21
dlext='o'
22
lddlflags='-r'
23
ldflags='-static'
24
so='none'
25
useshrplib='false'
26
27
#sbrk() returns -1 (failure) somewhere in lib/unicore/mktables at
28
#around 14M, so we need to use system malloc() as our sbrk()
29
malloc_cflags='ccflags="-DUSE_PERL_SBRK -DPERL_SBRK_VIA_MALLOC $ccflags"'
30
31
# Locales aren't feeling well. We crash if -Ox used.
32
locale_cflags='optimize="-O0"'
33
LC_ALL=C; export LC_ALL;
34
LANG=C; export LANG;

Return to bug 507182