07-13-2017, 10:24 AM | #31 |
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
|
07-13-2017, 11:01 AM | #32 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
I don't recall if that is one of them, but there are some compiler version early in the 4.x series that are to be avoided due to mis-compilations on ARM.
Your best bet is to use Linaro (sp?) ARM compilers - They are the leading maintainer of the GCC/ARM compiler(s). Current: https://releases.linaro.org/componen...naries/latest/ A little digging will get you earlier GCC series releases (back to early 4.x IIRC - nobody in their right mind keeps any 3.y stuff around). Edit: Back to 4.9: http://releases.linaro.org/component...hain/binaries/ And the fog clears a bit - it was the versions upto 4.8 that had problems. So to avoid those, and be most likely to compile the very old sources used in the Kindle system, pick from here: http://releases.linaro.org/component...linux-gnueabi/ Last edited by knc1; 07-13-2017 at 11:07 AM. |
Advert | |
|
07-13-2017, 12:37 PM | #33 |
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
knc1,
I used gcc 4.6.3 under the debian-wheezy-armel qemu image running under Ubuntu 14.04. Was able to compile the popeye chess application. The compiled executable runs OK both on the qemu VM as well as on PW1 and PW3. The latest version of this thread's application, however requires a C++11 compliant gcc( at least 4.7), which the debian-wheezy-armel repository doesn't seem to have. |
07-13-2017, 01:04 PM | #35 |
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
Thanks, encol!
Will try it. Don't know why they can't make it accessible through apt-get? |
Advert | |
|
07-13-2017, 02:11 PM | #36 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
You would have to check either the bug reports and/or the changelog of the following versions to find out what feature of the source code causes the problem. And then test that on your specific compiler. Unless you built it yourself, you don't know what all patches had, or had not, been applied. My recounting known history is not a directive - people can still make up their own mind. |
|
07-14-2017, 10:54 AM | #37 | |
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
Quote:
Since they installed into the non-standard /usr/bin, also entered EXPORT CC= and CXX= the actual paths in /usr/bin But the cmake script still says no C++11 support and advises to upgrade compiler, though it is able to recognise both the versions and locations. The install help file in the package clearly states v 4.7 is sufficient. |
|
07-14-2017, 12:28 PM | #38 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Having that missing will break C++ It is possible that the direction writer had a system where the installation of libstdc++ was automated (they did it, but didn't know about it). {You just gotta love these puzzles to be a software developer. Some people even do this for a living.} Last edited by knc1; 07-14-2017 at 12:31 PM. |
|
07-14-2017, 12:46 PM | #39 |
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
I installed libstdc++ manually, after(I think) the GCC or G++ installs mentioned it as a dependency.
Have raised a bug on the taskwarrior forum. Let me see... |
07-15-2017, 05:01 AM | #40 |
Evangelist
Posts: 416
Karma: 765432
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
|
post
Code:
dpkg-query -l 'libstdc++*' | grep ii |
07-15-2017, 12:00 PM | #41 |
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
|
07-15-2017, 12:16 PM | #42 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
can not say.
you only posted: "4.7" not the specific version (4.7.?.?-?) so use the same command (changing the target name of course) to see if the compiler's full version matches the library's full version. |
07-15-2017, 12:47 PM | #43 | |
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
Quote:
Code:
GNU C compiler 4.7.2-5 GNU C++ compiler 4.7.2-5 GCC, the GNU Compiler Collection (base package) 4.7.2-5 Last edited by nasser; 07-15-2017 at 12:49 PM. |
|
07-15-2017, 01:00 PM | #44 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Have c++ report where it is looking for externals - as in (for gcc): gcc -v -o junk junk.c Hmm... I think that will also give you the information you might need if you try compiling /dev/null as the source code. Compiling /dev/null does have its uses. |
|
07-15-2017, 03:43 PM | #45 |
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
Got a pile of messages:
COMPILER_PATH= .... ....... LIBRARY_PATH= ..... ..... COLLECT_GCC_OPTIONS= ..... |
Tags |
extensions, kterm, kual, launcher add-ons, launcher extension, task, taskwarrior |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
kual: kterm -e myapp.sh | peepo | Kindle Developer's Corner | 7 | 02-25-2013 11:00 AM |
Sigil requires OpenCL? | gassville | Sigil | 13 | 02-07-2013 08:42 PM |
PRS-T1 PRS-T1 Requires OS 10.7 on Mac ?! | Jane12 | Sony Reader | 17 | 10-05-2011 09:11 PM |
why ebook-convert requires x11? | jose1711 | Recipes | 2 | 06-12-2011 06:12 AM |
Does epub on 505 requires formatting? | lovemov | Sony Reader | 11 | 04-02-2009 11:44 AM |