Added support for the linux386 platform. Disabled building of the K&R C, Basic and Occam compilers.

This commit is contained in:
dtrg 2007-04-23 23:41:50 +00:00
parent ae9ac25f45
commit 413880c52d

31
pmfile
View file

@ -79,12 +79,12 @@ include "mach/z8000/pmfile"
-- This is the list of language runtimes that is built for each architecture. -- This is the list of language runtimes that is built for each architecture.
lang_runtimes = group { lang_runtimes = group {
lang_cem_runtime, -- lang_cem_runtime, -- K&R C (obsolete and useless)
lang_cem_ansi_runtime, lang_cem_ansi_runtime, -- ANSI C
lang_pc_runtime, lang_pc_runtime, -- Pascal
lang_m2_runtime, lang_m2_runtime, -- Modula-2
lang_occam_runtime, -- lang_occam_runtime, -- Occam 1 (obsolete and useless)
lang_basic_runtime, -- lang_basic_runtime, -- Basic
} }
-- Include the platform descriptions. -- Include the platform descriptions.
@ -92,6 +92,9 @@ lang_runtimes = group {
include "mach/i86/pmfile" -- generic i86 include "mach/i86/pmfile" -- generic i86
include "plat/pc86/pmfile" -- PC standalone include "plat/pc86/pmfile" -- PC standalone
include "mach/i386/pmfile" -- generic i386
include "plat/linux386/pmfile" -- Linux executables
default = group { default = group {
-- Lots of things use LLgen, so we need to build it first. -- Lots of things use LLgen, so we need to build it first.
@ -121,8 +124,8 @@ default = group {
tool_tabgen, tool_tabgen,
tool_aal, tool_aal,
tool_ack, tool_ack,
tool_cpp, -- tool_cpp, -- K&R C
tool_cpp_ansi, tool_cpp_ansi, -- ANSI C
tool_cgg, tool_cgg,
tool_ncgg, tool_ncgg,
-- tool_ceg, -- tool_ceg,
@ -138,13 +141,14 @@ default = group {
tool_asize, tool_asize,
tool_astrip, tool_astrip,
tool_aslod, tool_aslod,
tool_aelflod,
lang_cem_compiler, -- lang_cem_compiler,
lang_cem_ansi_compiler, lang_cem_ansi_compiler,
lang_pc_compiler, lang_pc_compiler,
lang_m2_compiler, lang_m2_compiler,
lang_occam_compiler, -- lang_occam_compiler,
lang_basic_compiler, -- lang_basic_compiler,
-- Build the code generators and the architecture-independent -- Build the code generators and the architecture-independent
-- libraries. -- libraries.
@ -171,9 +175,10 @@ default = group {
mach_z8000, lang_runtimes { ARCH="z8000", OPTIMISATION="-O" }, mach_z8000, lang_runtimes { ARCH="z8000", OPTIMISATION="-O" },
--]] --]]
-- Build the platform-specific libraries. -- Build the platforms.
platform_pc86 platform_pc86,
platform_linux386
} }
-- Ensure that the work directories exist. -- Ensure that the work directories exist.