![]() |
#151 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
You could probably force specific libraries to load first with -L, but there are already two known missing symlinks (and probably more), and the version numbers depend on which kindle firmware (tccmake works on DX/DXG/K3/K4/K5). Also, tccmake only supports script parameters $1 through $9, so for more parameters it would need to loop and shift. The more libraries you force, the less modules you can link, without adding complexity to the script.
When I searched for a solution to this problem (tcc only having PARTIAL support for the "ld scripting language"), the forums that discussed this problem called this a "library loader script" and I just continued to use that existing terminology. Because the solution that I used worked, I did not have to RTFM, so I did not learn the "right words" to call these things. But even though tcc does not support all four ld scripting keywords, that is not the problem here. The real problem is that the old ld script points to a missing static link library, and tcc complains that it cannot find the library that the old "ld control script" pointed to. My simplified version removed the reference to the missing file (which may cause problems with static linking, but we are solving these problems as the need arises and that has not yet been a problem). I just use tcc for testing simple stuff, and I use codesourcery for the final binary executable, which runs many time faster in most cases. Last edited by geekmaster; 05-28-2012 at 08:35 PM. |
![]() |
![]() |
![]() |
#152 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
It was a simple "yes/no" question about your tcc not about your tccmake.
I think that the leading: "could probably" translates into "untested". I can't read anything else in the noise that is relevant to my question past the first ", but ..." But thank you for your reply. |
![]() |
![]() |
![]() |
#153 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Last edited by geekmaster; 05-28-2012 at 09:02 PM. |
|
![]() |
![]() |
![]() |
#154 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
What are people here supposed to do that have objectives different than your own? Ignore you or feel free to ask what you have done and learned? |
|
![]() |
![]() |
![]() |
#155 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Why are you getting bent over my descriptions of how I *solved* the problems? And why argue over OTHER ways that these problems COULD have been solved? They ARE solved (until the next one comes along). |
|
![]() |
![]() |
![]() |
#156 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
The only downside that I can see is that you would need to load your patched kernel with kexec, to avoid interfering with already fragile kindle OTA updates. It might be safer to add these patches to a shell instead of the kernel, like how cygwin does it. Then do your tcc compiles inside the patched shell. But really, the USB drive is large enough that we can just use renamed file copies instead of symlinks, which is how I handled this kind of problem in the past. If your library needs three names, just use three copies of that library on your vfat drive. Then you do not need non-standard and potentially fragile vfat symlink support. |
|
![]() |
![]() |
![]() |
#157 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
If it hasn't made it into the kernel sources in ten years of waiting, it is unlikely to be added. |
|
![]() |
![]() |
![]() |
#158 | |
Enthusiast
![]() Posts: 29
Karma: 10
Join Date: May 2012
Device: Kindle Touch
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#159 |
Enthusiast
![]() Posts: 29
Karma: 10
Join Date: May 2012
Device: Kindle Touch
|
Yes, It's a really old one ... I thought it might be an interesting way to approach the issue of symlinks... but since it hasn't grabbed the attention of kernel programmers for so many years, it's probably not a good solution ...
Last edited by deep; 05-29-2012 at 04:04 AM. |
![]() |
![]() |
![]() |
#160 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Ten years ago feels about right for when they where heavily engaged with MS on the matter. So this patch might have been ignored due to those troubles, not due to the quality of the patch or the idea. Note: This is one of the reasons for so many options on the VFAT system. That allows the selection of a combination of options required to mount most of the other "almost FAT" file systems without trampling on anyone's I.P. rights. |
|
![]() |
![]() |
![]() |
#161 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
![]()
Begin__AntiRant__
For a newb it's always tough to derive the noise from the wheat, the could from the should and the ![]() ![]() This thread encompasses a range of subjects many of which are intriguing to a novice. ![]() The way they are communicated ![]() The threads that contain quality content like this will live on long after flame-fuelled troll drivel has sunk into the necro-abyss of google page 10. ![]() Much appreciate the downloads and the efforts on all sides to drive this tool towards compliance despite all odds ![]() "Providing compliant tools for the betterment of all" and that's worth applauding. ![]() So nice one you few brave crew either driven, misguided or just OCD enough to do it. We salute you. ![]() End__AntiRant__ For my part I'm just relieved to find some vague assistance in getting anything to compile. Happy days. Perhaps I will find a howto step-by-step for slackware, c, arm and native, including all the tool-chains and references. In the interim this is an excellent tool for trying out some code. Thanks again. |
![]() |
![]() |
![]() |
#162 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
https://wiki.mobileread.com/wiki/Tools_Index Follow: https://www.mobileread.com/forums/sho...d.php?t=181068 as I finish its write-up. Currently you have to read all the posts. |
|
![]() |
![]() |
![]() |
#163 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
![]() Last edited by geekmaster; 06-27-2012 at 02:00 PM. |
|
![]() |
![]() |
![]() |
#164 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Amen to that.
Quote:
|
|
![]() |
![]() |
![]() |
Tags |
tcc, tinycc |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
geekmaster simple touchscreen script support hack | geekmaster | Kindle Developer's Corner | 12 | 04-21-2021 11:38 PM |
Very simple guide to reading newspapers on the kindle, please? :) | Pismire | Amazon Kindle | 7 | 06-01-2012 11:26 PM |
Free (Kindle/Nook/ChristianBook) The Invitation: A Simple Guide to the Bible | arcadata | Deals and Resources (No Self-Promotion or Affiliate Links) | 4 | 08-22-2011 01:05 PM |
Simple guide to choosing a Creative Commons license for your work | Bob Russell | News | 0 | 12-26-2006 11:10 AM |