Удаленный rsnapshot не работает с & ldquo; Permission denied & rdquo; ошибка

Afaik, в gcc, вы можете установить флаг -m32, чтобы он скомпилировал источники Linux в 32-разрядные исполняемые файлы.

edit: Я хотел добавить вопрос из stackoverflow здесь, в котором сказано, чтобы установить cflags:

[ f1]

И из репозитория linux в edit: 'github account, я нашел следующий раздел основного файла makefile, который может вам пригодиться, поскольку он сообщает, что вы можете установить целевую архитектуру, установив переменная среды. Читайте комментарии, в настоящее время эти строки из этого файла, между строками 174-196:

# Cross compiling and selecting different set of gcc/bin-utils
# ---------------------------------------------------------------------------
#
# When performing cross compilation for other architectures ARCH shall be set
# to the target architecture. (See arch/* for the possibilities).
# ARCH can be set during invocation of make:
# make ARCH=ia64
# Another way is to have ARCH set in the environment.
# The default ARCH is the host where make is executed.

# CROSS_COMPILE specify the prefix used for all executables used
# during compilation. Only gcc and related bin-utils executables
# are prefixed with $(CROSS_COMPILE).
# CROSS_COMPILE can be set on the command line
# make CROSS_COMPILE=ia64-linux-
# Alternatively CROSS_COMPILE can be set in the environment.
# A third alternative is to store a setting in .config so that plain
# "make" in the configured kernel build directory always uses that.
# Default value for CROSS_COMPILE is not to prefix executables
# Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile
export KBUILD_BUILDHOST := $(SUBARCH)
ARCH        ?= $(SUBARCH)
CROSS_COMPILE   ?= $(CONFIG_CROSS_COMPILE:"%"=%)

# ...
# There are more architecture related stuff beyond this line
1
задан 21 August 2014 в 23:39

0 ответов

Другие вопросы по тегам:

Похожие вопросы: