mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-20 13:49:40 +02:00
* the WASM define renamed WASM32
git-svn-id: branches/wasm@46250 -
This commit is contained in:
parent
ed524467e9
commit
39c5f11ec6
@ -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}
|
||||||
|
@ -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}
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user