Skip to contentSkip to conversation

potentially confusing intro to what is in an SDK (SDK manual)

DISCUSSION Robert P. J. Day 2 participants 2 messages Oct 23, 2016

lore
Share & tools
lore
#0 lore raw

more of the pedantic nitpickery you've all come to expect from me,
but in section 1.1 of SDK Manual (v. 2.2):

"All SDKs consist of the following:

Cross-Development Toolchain: This toolchain contains a compiler, debugger, and various miscellaneous tools.

Libraries, Headers, and Symbols: The libraries, headers, and symbols are specific to the image (i.e. they match the image).

Environment Setup Script: This *.sh file, once run, sets up the cross-development environment by defining variables and preparing for SDK use. "

hang on ... that last reference to an ".sh" file is potentially misleading. the generated SDK itself is bundled into the installation script (say, poky-glibc-x86_64-core-image-minimal-ppce300c3-toolchain-2.2.sh), and when that's run, what is installed contains, at the top level, the setup script "environment-setup-ppce300c3-poky-linux" -- there is no .sh script installed in the SDK installation directory.

it might be common to create the symlink for convenience:

    environment-setup-ppce300c3-poky-linux -> env.sh

or something like that, but AFAICT, there is no ".sh" setup script in the SDK installation directory.

is it possible the author was conflating the installation .sh file,
and the environment setup file?

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw
Quoted 16 lines · Robert P. J. Day

more of the pedantic nitpickery you've all come to expect from me,
but in section 1.1 of SDK Manual (v. 2.2):

"All SDKs consist of the following:

Cross-Development Toolchain: This toolchain contains a compiler, debugger, and various miscellaneous tools.

Libraries, Headers, and Symbols: The libraries, headers, and symbols are specific to the image (i.e. they match the image).

Environment Setup Script: This *.sh file, once run, sets up the cross-development environment by defining variables and preparing for SDK use. "

Quoted 7 lines

hang on ... that last reference to an ".sh" file is potentially misleading. the generated SDK itself is bundled into the installation script (say, poky-glibc-x86_64-core-image-minimal-ppce300c3-toolchain-2.2.sh), and when that's run, what is installed contains, at the top level, the setup script "environment-setup-ppce300c3-poky-linux" -- there is no .sh script installed in the SDK installation directory.

it should really be something like "This shell script file, once sourced ..." fell free to send a patch and cc Scott.

Quoted 28 lines

it might be common to create the symlink for convenience:

    environment-setup-ppce300c3-poky-linux -> env.sh

or something like that, but AFAICT, there is no ".sh" setup script in the SDK installation directory.

is it possible the author was conflating the installation .sh file,
and the environment setup file?

rday

--

========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday

========================================================================

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto