openssh cross compilation issue
Peter Stuge
peter at stuge.se
Fri Apr 26 05:22:57 EST 2013
Prassidice wrote:
> ./configure \
> CC=arm-linux-gnueabi-gcc \
> --host=arm-linux \
> --build=arm-linux-gnueabi \
> --with-ssl-dir=/home/working_area/disk1 \
> --with-zlib=/home/working_area/disk1/usr \
> --prefix=/home/working_area/disk1/usr \
> --disable-etc-default-login
No, use --prefix=/usr
> make install
No, use make install DESTDIR=/home/working_area/disk1
> how can I fix this?
The above is rather basic crosscompiling.
> 3) near (umask 022...)
> from:
> $(INSTALL) -m 0755 $(STRIP_OPT) ssh$(EXEEXT)
> $(DESTDIR)$(bindir)/ssh$(EXEEXT)
And since you saw the above Makefile rules you really had all the
clues at hand already.
//Peter
More information about the openssh-unix-dev
mailing list