1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-18 08:51:45 -08:00

Add solaris

Copied from Perforce
 Change: 18307
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Richard Tucker 1997-05-30 14:57:35 +01:00
parent e86be2dcf9
commit fdef04e535

View file

@ -14,27 +14,33 @@
$plat_link{"sol2.4_sparc"} = "-lm";
sub compiler_settings {
if ($platform_class =~ "^nt_") {
if ($PLATFORM =~ "^nt_") {
$cc_command = "cl";
$cc_opts = "/DWIN32 /D_WINDOWS /W3 /Z7 /DMMQA_VERS_$INTERFACE_VERSION";
$cc_link = "$obj_dir/platform.o $plat_link{$PLATFORM}";
$cc_link = "$obj_dir/platform.o";
$cc_include = "/I$testlib_dir /I$MPS_INCLUDE_DIR";
$cc_conly = "/c";
$cc_obj = "/Fo";
$cc_exe = "/Fe";
$run_command = "";
} else {
} elsif ($PLATFORM =~ "^(sun|sol)") {
if ($PLATFORM =~ "^sol") {
$cc_link = "$obj_dir/platform.o -lm";
} else {
$cc_link = "$obj_dir/platform.o";
}
$cc_command = "gcc";
$cc_opts = "-ansi -pedantic -Wall -Wstrict-prototypes ".
"-Winline -Waggregate-return -Wnested-externs -Wcast-qual ".
"-Wshadow -Wmissing-prototypes -Wredundant-decls -Wcast-align ".
"-O -g -ggdb3 -DMMQA_VERS_$INTERFACE_VERSION";
$cc_link = "$obj_dir/platform.o $plat_link{$PLATFORM}";
$cc_include = "-I$testlib_dir -I$MPS_INCLUDE_DIR";
$cc_conly = "-c";
$cc_obj = "-o ";
$cc_exe = "-o ";
$run_command = "sh -c ";
} else {
die "Sorry: I don't know how to compile on ".$PLATFORM."\n";
}
}