[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cross compilers for non-x86 hosts



On 2018-05-01 22:09 +0100, Alex Bennée wrote:
> 
> Wookey <wookey@wookware.org> writes:
> 
> > On 2018-04-27 11:22 +0100, Alex Bennée wrote:

Easy stuff first

> By the way is there a way to:
> 
>   - limit the total threads used (24 is too many for the DevBox)

yes, use DEB_BUILD_OPTIONS="parallel=n" where n is number of threads.

DEB_BUILD_OPTIONS="parallel=6,nolang=d,go,java,objc,obj-c++,ada" unstripped_exe=no dpkg-buildpackage --target-arch alpha -B -d -uc -us

>   - skip the gcc test suite while building?

DEB_BUILD_OPTIONS=nocheck

> Also I guess I need to build a glibc?

There should already be one in the alpha repository:
https://packages.debian.org/sid/libc6.1
 
> -rw-r--r-- 1 root root  796K May  1 18:44 libgcc-7-dev_7.3.0-16_arm64.deb
> -rw-r--r-- 1 root root  1.4M May  1 18:44 libstdc++-7-dev_7.3.0-16_arm64.deb
> -rw-r--r-- 1 root root  5.3M May  1 18:45 libstdc++6-7-dbg_7.3.0-16_arm64.deb
> 
> got built but no libc

Yes. Those come from the gcc source package
libc6, libc6-dev, libc-bin come from the glibc source package.


Wookey
-- 
Principal hats:  Linaro, Debian, Wookware, ARM
http://wookware.org/

Attachment: signature.asc
Description: PGP signature


Reply to: