anchor.diff:  wordsize(Arch) when Arch =:= false; Arch =:= "" ->
       native_wordsize();
   wordsize(Arch) ->
  -    %% add a simple call to gcc to find out?
       case match_wordsize(Arch, [{"i686","32"}, {"i386","32"},
                                  {"arm","32"}, {"x86_64","64"}]) of
           false ->
  -            env_wordsize(os:getenv("REBAR_ARCH_WORDSIZE"));
  +            case cross_wordsize(Arch) of
  +                "" ->
  +                    env_wordsize(os:getenv("REBAR_ARCH_WORDSIZE"));
  +                WordSize -> WordSize
  +            end;
           {_, Wordsize} ->
               Wordsize
       end.
  
positive.code:             io:format("REBAR_ARCH_WORDSIZE bad value: ~p\n", [Wordsize]),
              "32"
      end.
  
  native_wordsize() ->
      try erlang:system_info({wordsize, external}) of
  
negative.code:          processing_base_dir/1,
           processing_base_dir/2,
           patch_env/2,
           cleanup_code_path/1,
           cross_wordsize/1,
           native_wordsize/0,
           wordsize/1,
           cross_sizeof/2,
           env_wordsize/1
          ]).
  
  %% for internal use only
  -export([otp_release/0]).
  