View Single Post
Old 06-01-2014, 06:03 AM   #27
gargo
Junior Member
gargo began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2014
Device: Kobo Mini
From the first page
Quote:
Originally Posted by tonyv View Post
A guide for kobo touch from memory
......snip....
My system is ubuntu 10.04 64bit
on kobo
>strings /lib/libc.so.6 | grep ourcery
this is what i got
GNU C Library (Sourcery G++ Lite 2010q1-202) stable release version 2.11.1, by Roland McGrath et al.
if you have a different compiler you can flash to 1.9.17 or
download your version from mentor could try
site:sourcery.mentor.com "your version" in google
And as I've found too

Quote:
Originally Posted by norbusan View Post
BTW, on firmware 2.10.0 the glibc has changed:
GNU C Library (Ubuntu EGLIBC 2.15-0ubuntu10) stable release version 2.15, by Roland McGrath et al.
Norbert
On my Kobo (bought early 2014) I get:
Code:
strings /lib/libc.so.6 | grep GNU
  GNU C Library (Ubuntu EGLIBC 2.15-0ubuntu10) stable release version 2.15,
by Roland McGrath et al.
  Compiled by GNU CC version 4.6.3. 
  GNU Libidn by Simon Josefsson

cat /proc/version
  Linux version 2.6.35.3-850-gbc67621+ (gallen@gallen-P5KPL-AM-BM) 
  (gcc version 4.4.4 (4.4.4_09.06.2010) ) 
  #617 PREEMPT Mon Apr 22 11:07:47 CST 2013
I'm wanting to compile the g_serial and g_hid modules so allow the Kobo to simulate a serial port and/or an HID through the USB port.
I've compiled for other devices before but I'm never had to setup my own development envioment before, hence the question:

To make a Development envioment for the newer C library :-
What from the first page do change, due to the different C library, do I install the EGLIBC 2.15-0ubuntu10 package, on a ubuntu 12.04LTS virtual machine and continue with the instructions at the start of this thread?
Thanks Gavin.
gargo is offline   Reply With Quote