* the WASM define renamed WASM32

git-svn-id: branches/wasm@46250 -
This commit is contained in:
nickysn 2020-08-05 14:17:27 +00:00
parent ed524467e9
commit 39c5f11ec6
3 changed files with 7 additions and 6 deletions

View File

@ -376,7 +376,8 @@
{$define symansistr} {$define symansistr}
{$endif} {$endif}
{$ifdef wasm} {$ifdef wasm32}
{$define wasm}
{$define cpu32bit} {$define cpu32bit}
{$define cpu64bitalu} {$define cpu64bitalu}
{$define cpu32bitaddr} {$define cpu32bitaddr}

View File

@ -41,7 +41,7 @@ program pp;
RISCV64 generate a compiler for the RiscV64 architecture RISCV64 generate a compiler for the RiscV64 architecture
SPARC generate a compiler for SPARC SPARC generate a compiler for SPARC
SPARC64 generate a compiler for SPARC64 SPARC64 generate a compiler for SPARC64
WASM generate a compiler for WebAssembly WASM32 generate a compiler for WebAssembly 32-bit
X86_64 generate a compiler for the AMD x86-64 architecture X86_64 generate a compiler for the AMD x86-64 architecture
XTENSA generate a compiler for XTENSA XTENSA generate a compiler for XTENSA
Z80 generate a compiler for Z80 Z80 generate a compiler for Z80
@ -195,12 +195,12 @@ program pp;
{$endif CPUDEFINED} {$endif CPUDEFINED}
{$define CPUDEFINED} {$define CPUDEFINED}
{$endif Z80} {$endif Z80}
{$ifdef WASM} {$ifdef WASM32}
{$ifdef CPUDEFINED} {$ifdef CPUDEFINED}
{$fatal ONLY one of the switches for the CPU type must be defined} {$fatal ONLY one of the switches for the CPU type must be defined}
{$endif CPUDEFINED} {$endif CPUDEFINED}
{$define CPUDEFINED} {$define CPUDEFINED}
{$endif WASM} {$endif WASM32}
{$ifndef CPUDEFINED} {$ifndef CPUDEFINED}
{$fatal A CPU type switch must be defined} {$fatal A CPU type switch must be defined}

View File

@ -12,7 +12,7 @@
</Flags> </Flags>
<SessionStorage Value="InProjectDir"/> <SessionStorage Value="InProjectDir"/>
<MainUnit Value="0"/> <MainUnit Value="0"/>
<Title Value="ppcwasm"/> <Title Value="ppcwasm32"/>
</General> </General>
<BuildModes Count="1"> <BuildModes Count="1">
<Item1 Name="default" Default="True"/> <Item1 Name="default" Default="True"/>
@ -61,7 +61,7 @@
<ConfigFile> <ConfigFile>
<StopAfterErrCount Value="50"/> <StopAfterErrCount Value="50"/>
</ConfigFile> </ConfigFile>
<CustomOptions Value="-dwasm <CustomOptions Value="-dwasm32
-dnoopt"/> -dnoopt"/>
</Other> </Other>
</CompilerOptions> </CompilerOptions>