All of lore.kernel.org
 help / color / mirror / Atom feed
* custom internal toolchain/glibc
@ 2016-07-20 17:30 Robert Berger
  2016-07-20 18:31 ` Burton, Ross
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Berger @ 2016-07-20 17:30 UTC (permalink / raw)
  To: yocto

Hi,

I was wondering what's the process if someone wanted to use, say Jethro
or Krogoth, but with different/custom versions of gcc, binutils, glibc
e.g. to cook some syscalls and to compile ancient Linux kernels.

I came across tcmode-default.inc[1] where such things are defined:

GCCVERSION ?= "6.1%"
SDKGCCVERSION ?= "${GCCVERSION}"
BINUVERSION ?= "2.26%"
GDBVERSION ?= "7.11%"
GLIBCVERSION ?= "2.24"
UCLIBCVERSION ?= "1.0%"
LINUXLIBCVERSION ?= "4.4"

Would hacking/duplicating and hacking this be a good starting point?

With TCMODE I could get poky to pick up some external toolchain, but I
would like it to build a custom one instead.

Please advise.

Thanks,

Robert

[1]
http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/conf/distro/include/tcmode-default.inc..."My
employer doesn't even agree with me about C indentation style." - Used
as a disclaimer

My public pgp key is available,at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: custom internal toolchain/glibc
  2016-07-20 17:30 custom internal toolchain/glibc Robert Berger
@ 2016-07-20 18:31 ` Burton, Ross
  2016-07-20 19:13   ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Burton, Ross @ 2016-07-20 18:31 UTC (permalink / raw)
  To: Robert Berger; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 860 bytes --]

On 20 July 2016 at 18:30, Robert Berger <gmane@reliableembeddedsystems.com>
wrote:

> I was wondering what's the process if someone wanted to use, say Jethro
> or Krogoth, but with different/custom versions of gcc, binutils, glibc
> e.g. to cook some syscalls and to compile ancient Linux kernels.
>
> I came across tcmode-default.inc[1] where such things are defined:
>
> GCCVERSION ?= "6.1%"
> SDKGCCVERSION ?= "${GCCVERSION}"
> BINUVERSION ?= "2.26%"
> GDBVERSION ?= "7.11%"
> GLIBCVERSION ?= "2.24"
> UCLIBCVERSION ?= "1.0%"
> LINUXLIBCVERSION ?= "4.4"
>
> Would hacking/duplicating and hacking this be a good starting point?
>

Absolutely - if you provide your own gcc/binutils/etc recipes then these
are the variables to change to use them.  It's not unusual for oe-core to
ship with more than one GCC version for example.

Ross

[-- Attachment #2: Type: text/html, Size: 1383 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: custom internal toolchain/glibc
  2016-07-20 18:31 ` Burton, Ross
@ 2016-07-20 19:13   ` Khem Raj
  0 siblings, 0 replies; 3+ messages in thread
From: Khem Raj @ 2016-07-20 19:13 UTC (permalink / raw)
  To: Burton, Ross; +Cc: Robert Berger, yocto@yoctoproject.org


[-- Attachment #1.1: Type: text/plain, Size: 1192 bytes --]


> On Jul 20, 2016, at 11:31 AM, Burton, Ross <ross.burton@intel.com> wrote:
> 
> 
> On 20 July 2016 at 18:30, Robert Berger <gmane@reliableembeddedsystems.com <mailto:gmane@reliableembeddedsystems.com>> wrote:
> I was wondering what's the process if someone wanted to use, say Jethro
> or Krogoth, but with different/custom versions of gcc, binutils, glibc
> e.g. to cook some syscalls and to compile ancient Linux kernels.
> 
> I came across tcmode-default.inc[1] where such things are defined:
> 
> GCCVERSION ?= "6.1%"
> SDKGCCVERSION ?= "${GCCVERSION}"
> BINUVERSION ?= "2.26%"
> GDBVERSION ?= "7.11%"
> GLIBCVERSION ?= "2.24"
> UCLIBCVERSION ?= "1.0%"
> LINUXLIBCVERSION ?= "4.4"
> 
> Would hacking/duplicating and hacking this be a good starting point?
> 
> Absolutely - if you provide your own gcc/binutils/etc recipes then these are the variables to change to use them.  It's not unusual for oe-core to ship with more than one GCC version for example.
> 

Looks at meta-linaro how they do it

> Ross
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


[-- Attachment #1.2: Type: text/html, Size: 2435 bytes --]

[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-07-20 19:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-20 17:30 custom internal toolchain/glibc Robert Berger
2016-07-20 18:31 ` Burton, Ross
2016-07-20 19:13   ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.