Size of crosscompiled exectuable

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Size of crosscompiled exectuable

Simon Marlow-7
On 28/01/13 20:05, Nathan H?sken wrote:

> With
>
> SplitObjs          = YES
>
> I get
>
> on the commandline: Warning: ignoring -fsplit-objs
> "rm" -f libraries/ghc-prim/dist-install/build/libHSghc-prim-0.3.1.0.a
> libraries/ghc-prim/dist-install/build/libHSghc-prim-0.3.1.0.a.contents
> /usr/bin/find libraries/ghc-prim/dist-install/build/GHC/Classes_o_split
> libraries/ghc-prim/dist-install/build/GHC/CString_o_split
> libraries/ghc-prim/dist-install/build/GHC/Debug_o_split
> libraries/ghc-prim/dist-install/build/GHC/Magic_o_split
> libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers_o_split
> libraries/ghc-prim/dist-install/build/GHC/IntWord64_o_split
> libraries/ghc-prim/dist-install/build/GHC/Tuple_o_split
> libraries/ghc-prim/dist-install/build/GHC/Types_o_split -name '*.o'
> -print >>
> libraries/ghc-prim/dist-install/build/libHSghc-prim-0.3.1.0.a.contents
> /usr/bin/find:
> `libraries/ghc-prim/dist-install/build/GHC/Classes_o_split': No such
> file or directory
> /usr/bin/find:
> `libraries/ghc-prim/dist-install/build/GHC/CString_o_split': No such
> file or directory
> /usr/bin/find:
> `libraries/ghc-prim/dist-install/build/GHC/Debug_o_split': No such file
> or directory
> /usr/bin/find:
> `libraries/ghc-prim/dist-install/build/GHC/Magic_o_split': No such file
> or directory
> /usr/bin/find:
> `libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers_o_split': No
> such file or directory
> /usr/bin/find:
> `libraries/ghc-prim/dist-install/build/GHC/IntWord64_o_split': No such
> file or directory
> /usr/bin/find:
> `libraries/ghc-prim/dist-install/build/GHC/Tuple_o_split': No such file
> or directory
> /usr/bin/find:
> `libraries/ghc-prim/dist-install/build/GHC/Types_o_split': No such file
> or directory
> make[1]: ***
> [libraries/ghc-prim/dist-install/build/libHSghc-prim-0.3.1.0.a] Error 1
> make: *** [all] Error 2
>
> Anyone able to build a cross compiler with split-objs?

It looks like we don't have split-objs support for ARM yet.  It probably
isn't too hard, but someone needs to look at the Perl script in
driver/split/ghc-split.lprl.

Cheers,
        Simon