Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Scratchbox 2

From Wikipedia, the free encyclopedia
(Redirected fromScratchbox)
This article has multiple issues. Please helpimprove it or discuss these issues on thetalk page.(Learn how and when to remove these messages)
This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Scratchbox 2" – news ·newspapers ·books ·scholar ·JSTOR
(September 2024) (Learn how and when to remove this message)
This articlerelies excessively onreferences toprimary sources. Please improve this article by addingsecondary or tertiary sources.
Find sources: "Scratchbox 2" – news ·newspapers ·books ·scholar ·JSTOR
(December 2024) (Learn how and when to remove this message)
(Learn how and when to remove this message)
Scratchbox 2
Original author(s)Nokia
Developer(s)Jolla
Initial release2009-04-01
Stable release(s)
2.2.4[1] / 2012-04-01
Preview release(s)
2.3.90[2] / 2012-09-05
Written inC
Operating systemLinux
PlatformCross-platform
TypeBuild automation
LicenseLGPL 2.1[3]
Websitegithub.com/sailfishos/scratchbox2

Scratchbox 2 (often abbreviated to "sb2" or "sbox2") is a cross-compilation toolkit designed to make embedded Linux application development easier. It also provides a full set of tools to integrate andcross-compile an entireLinux distribution.

Predecessor

[edit]

Scratchbox was aLinux embedded application development toolkit which also providedcross compilation support forLinux distributions.

The project was initially developed byMovial and was sponsored byNokia. It was licensed under the GNU General Public License (GPL).

Scratchbox was designed for theMaemo development platform (Nokia770,N800,N810 Internet Tablets and NokiaN900 andN9 phones) and supportedARM architecture andx86. Targets likePowerPC andMIPS architecture worked at experimental level.

Functional description

[edit]

In the Linux world, whenbuilding software, many parameters are auto-detected on the host system (like installed libraries and system configuration), for example throughAutotools'./configure scripts. When one wants to build software for an embedded target by cross-compilation, most auto-detected parameters are incorrect: I.e. host configuration is not the same as theembedded target's configuration, hence the name cross-compilation.

Without Scratchbox 2, one has to manually set many parameters and"hack" the "configure process" to generate working executable code for the embedded target.

Scratchbox 2 allows one to set up a"virtual" environment that will trick Autotools and other executables into thinking that they are directly running on the embedded target with its configuration.

Moreover, Scratchbox 2 provides a technique called "CPU-transparency" that goes further: With "CPU-transparency", executables built for the host CPU or for the target CPU could be executed directly on the host with sb2 handling the task to emulate a differentCPU-architecture if necessary to run software components compiled for the target CPU. Hence abuild process can mix using programs built for different CPU-architectures. That is especially useful when a build process requires to build a software component first as abuild dependency for building another software component: For example, a"Lexer" must be built first in order to generate code for / of another software component with it.

Historic Git repositories of Scratchbox 2

[edit]
  • BinChengfei/scratchbox2 atGitHub provides an unaltered mirror of the former Scratchbox 2Git repository atGitorious with its latest Git tag being2.3.90 on 2012-09-05.
  • lbt/scratchbox2 (up to tagpkg-mer-2.3.90-4 on 2013-04-25) andmer-packages/scratchbox2 (up to tag2.3.90-git2 on 2014-03-05), both at GitHub, show intermediate states before theNemo / Mer merger, when Scratchbox 2's active source tree was moved to the now dissolvedgit.merproject.org.
  • The continuation of the former source code repositorygit.merproject.org/mer-core/scratchbox2 issailfishos/scratchbox2 at GitHub, which contains all commit history and Git tags of all aforementioned Git repositories.

References

[edit]
  1. ^"Scratchbox 2.2.4".Scratchbox 2 (sb2). 2012-04-01. Retrieved2023-01-27.
  2. ^"Scratchbox 2.3.90".Scratchbox 2 (sb2). 2012-09-05. Retrieved2023-01-27.
  3. ^"LGPL-2.1 license".Scratchbox 2. 2013-09-05. Retrieved2024-02-26.

External links

[edit]
Linux
Linux Kernel
GNU/Linux
XNU
QNX
Microsoft
Windows
Zircon
FreeBSD/NetBSD
OpenHarmony/HarmonyOS NEXT
FreeRTOS
  • Amazfit OS
    • Zepp OS
  • MIUI Band OS
Nintendo system software
Minix 3
Symbian
Others
Mobile
networks
,
protocols
Generations
General
operation
Mobile
devices
Form factors
Smartphones
Mobile
specific
software
Apps
Commerce
Content
Culture
Environment
and health
Law
Linux kernel
Controversies
Distributions
Organizations
Adoption
Media
Professional related certifications
Retrieved from "https://en.wikipedia.org/w/index.php?title=Scratchbox_2&oldid=1263117565#Predecessor"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp