pkgsrc-Users archive

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

Cross-compiling a build dependency ?



Hello all,

I might even be working my Subject: wrong…

So today I set up my first cross compile environment:

Host:	amd64 (VM)
Target:	sparc

Seems to be working, I have packages showing up in the *sparc* directory.

I notice that for build dependencies (I think that’s what these are…) - they are being built and installed natively - which I suppose makes sense.

What if I wanted to build one of those for my CC target though ?  Like - if I wanted to actually build perl5 for sparc ?  Is there some other options or arg that will tell pkgsrc to do this ?

Hopefully my question makes sense.  Thanks.

netbsd-10-amd64# uname -m
amd64

netbsd-10-amd64# pkg_info | grep perl
perl-5.38.2         Practical Extraction and Report Language

netbsd-10-amd64# ls -la /usr/pkgsrc/packages.NetBSD-10.0-sparc/All
total 3312
drwxr-xr-x  2 root  125      512 Jul 26 14:55 .
drwxr-xr-x  3 root  125      512 Jul 26 14:39 ..
-rw-r--r--  2 root  125   110327 Jul 26 14:41 jbigkit-2.1nb1.tgz
-rw-r--r--  2 root  125   481279 Jul 26 14:39 jpeg-9e.tgz
-rw-r--r--  2 root  125   489483 Jul 26 14:55 lcms2-2.16.tgz
-rw-r--r--  2 root  125   283734 Jul 26 14:53 libidn-1.42.tgz
-rw-r--r--  2 root  125   390932 Jul 26 14:43 png-1.6.43.tgz
-rw-r--r--  2 root  125  1516281 Jul 26 14:42 tiff-4.6.0nb3.tgz



Home | Main Index | Thread Index | Old Index