readonly TARGET = "SPARC32_LINUX" % code generation target
readonly WORD_SIZE = "32BITS" % { "32BITS" or "64BITS" }
readonly GNU_PLATFORM = "sparc-linux-gnu"

%
% add s switch to ar and remove need for ranlib
%
readonly AR_AND_RANLIB_ARE_ONE = TRUE

% -fPIC leads to a crash I haven't been able to debug yet

readonly m3back_flags = "-quiet -gstabs+ -m32 -munaligned-doubles"
readonly SYSTEM_CC = "gcc -gstabs+ -m32 -munaligned-doubles" % C compiler
readonly SYSTEM_ASM = "as -32" % Assembler

%
% newer platforms never needed these workarounds for
% bootstrapping with older builds
%
readonly proc GetGcWrapFlags() is return "" end
readonly proc FixM3GcDefs(x) is return x end
readonly proc GetM3BackFlag(x) is return x end

include("Linux.common")
