mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 12:26:58 +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}
|
||||
{$endif}
|
||||
|
||||
{$ifdef wasm}
|
||||
{$ifdef wasm32}
|
||||
{$define wasm}
|
||||
{$define cpu32bit}
|
||||
{$define cpu64bitalu}
|
||||
{$define cpu32bitaddr}
|
||||
|
@ -41,7 +41,7 @@ program pp;
|
||||
RISCV64 generate a compiler for the RiscV64 architecture
|
||||
SPARC generate a compiler for SPARC
|
||||
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
|
||||
XTENSA generate a compiler for XTENSA
|
||||
Z80 generate a compiler for Z80
|
||||
@ -195,12 +195,12 @@ program pp;
|
||||
{$endif CPUDEFINED}
|
||||
{$define CPUDEFINED}
|
||||
{$endif Z80}
|
||||
{$ifdef WASM}
|
||||
{$ifdef WASM32}
|
||||
{$ifdef CPUDEFINED}
|
||||
{$fatal ONLY one of the switches for the CPU type must be defined}
|
||||
{$endif CPUDEFINED}
|
||||
{$define CPUDEFINED}
|
||||
{$endif WASM}
|
||||
{$endif WASM32}
|
||||
|
||||
{$ifndef CPUDEFINED}
|
||||
{$fatal A CPU type switch must be defined}
|
||||
|
@ -12,7 +12,7 @@
|
||||
</Flags>
|
||||
<SessionStorage Value="InProjectDir"/>
|
||||
<MainUnit Value="0"/>
|
||||
<Title Value="ppcwasm"/>
|
||||
<Title Value="ppcwasm32"/>
|
||||
</General>
|
||||
<BuildModes Count="1">
|
||||
<Item1 Name="default" Default="True"/>
|
||||
@ -61,7 +61,7 @@
|
||||
<ConfigFile>
|
||||
<StopAfterErrCount Value="50"/>
|
||||
</ConfigFile>
|
||||
<CustomOptions Value="-dwasm
|
||||
<CustomOptions Value="-dwasm32
|
||||
-dnoopt"/>
|
||||
</Other>
|
||||
</CompilerOptions>
|
||||
|
Loading…
Reference in New Issue
Block a user