CROSSEXEC ( 1 ) USER COMMANDSCROSSEXEC ( 1 )


NAME

crossexec - cross compiler a.out execution

SYNOPSIS

crossexec [ options ] crosstype command [ option ... ] [ file ... ]

DESCRIPTION

crossexec runs a cross-compiled command in an environment that supports a cross-compilation architecture different from the current host. The cross environment is determined by crosstype, usually a host type name produced by package(1). crosstype is used to find an entry in $HOME/.crossexec that specifies the cross compiler host and access details.

The exit status of crossexec is the exit status of command.

CROSS ENVIRONMENT FILE

$HOME/.crossexec contains one line for each supported crosstype. Each line contains 5 tab separated fields. Field default values are specified as -. The fields are:
crosstype

The host type produced by package(1).
host
The host name.
user
The user name on host. The default is the current user.
dir
The directory to copy command and execute it. The default is the user $HOME on host.
shell

The command used to get shell access to host. Currently only rsh and ssh are supported.
copy
The command used to copy command to host. Currently only rcp and scp are supported.

OPTIONS

-n, --show

Show the underlying commands but do not execute.

SEE ALSO

rcp(1), rsh(1), scp(1), ssh(1)

IMPLEMENTATION

version

crossexec (AT&T Labs Research) 2004-01-04
author

Glenn Fowler <glenn.s.fowler@gmail.com>
copyright

Copyright © 1994-2012 AT&T Intellectual Property
license

http://www.eclipse.org/org/documents/epl-v10.html