You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ja...@apache.org on 2001/10/07 18:49:25 UTC
cvs commit: xml-xerces/perl/hints dec_osf.pl linux.pl solaris_2.pl
jasons 01/10/07 09:49:25
Added: perl/hints dec_osf.pl linux.pl solaris_2.pl
Log:
* hints/solaris_2.pl (Repository):
* hints/linux.pl (Repository):
* hints/dec_osf.pl (Repository):
MakeMaker hints
Revision Changes Path
1.1 xml-xerces/perl/hints/dec_osf.pl
Index: dec_osf.pl
===================================================================
package MY;
$self->{OPTIMIZE} =~ /-g/ and $debug=1;
$self->{CC}= "cxx -v";
$self->{LD}= "cxx -v"; # add cxx release dependent objects
sub const_config {
my $out=shift->SUPER::const_config;
$out=~s/^(LDDLFLAGS)(.*)-s/$1$2/m if $debug; # remove -s for debugging
$out;
}
sub cflags {
my $out=shift->SUPER::cflags(@_);
#
# DEC cxx5.5 doesn't know the -std flags, which we possibly used
# to compile perl with cc. cxx 5.6 does.
#
$out=~s/-std//; # cxx5.5-004 doesnt want this.
$out;
}
1.1 xml-xerces/perl/hints/linux.pl
Index: linux.pl
===================================================================
# until I get ahold of Detect::OS, I assume all linux is debian
$self->{CCFLAGS} .= " -DDEBIAN";
1.1 xml-xerces/perl/hints/solaris_2.pl
Index: solaris_2.pl
===================================================================
# Different C++ compilers on the same architecture are (most likely)
# not binary compatible. This poses difficulties in writing hints for
# MakeMaker. Suggestions welcome.
# gcc on solaris needs HAS_BOOL
$self->{CCFLAGS} .= " -HAS_BOOL";
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org