Subject: Cross compiling packages
To: port-hpcmips@netbsd.org <port-hpcmips@netbsd.org>
From: Bibok <bibok@tlen.pl>
List: port-hpcmips
Date: 08/28/2006 09:32:03
Hi!
Is it possible to cross compile pkgsrc? I was build a cross-environment
with:
# ./build.sh -m hpcmips -u tools
so I got a folder "tooldir.NetBSD-3.0.1-i386". When I try to compile
something from pkgsrc I run, for example:
# cd /pksrc/mail/mutt
# ./PATH/TO/tooldir.NetBSD-3.0.1-i386/bin/nbmake-hpcmips
Compiling is started but as result I have a 80386 binary:
# file work/mutt-1.4.2.2/mutt
work/mutt-1.4.2.2/mutt: ELF 32-bit LSB executable, Intel 80386, version 1
(SYSV), for NetBSD 3.0.10, dynamically linked (uses shared libs), stripped
Where is my mistake? Should I set something in mk.conf?
best regards
Mariusz