Linux app Manuskript on Pinebook
#6
(08-30-2017, 09:46 PM)MarkHaysHarris777 Wrote:
(08-30-2017, 10:43 AM)Siliconserf Wrote: OK, I'm working with Theologeek to see about getting involved in porting to the A64. My problem is I'm good on C, C++, and asm, but for embedded systems and Windows. Not much experience at all with Linux (part of the reason for becoming interested in the Pinebook.) I'll need someone to work with to understand the low level glue stuff like support files and configuration issues. Also, I have no idea at the moment where to get the open source cross compiler and project management software to run under Windows 10.


I'm going to answer your questions in reverse or, sentence by sentence;  in general, and I do mean this in the generous spirit of right good will--  you're going to want to dump windows;  windows will only get in the way, constrain you, and force you to use paradigms which are out-moded and which are not helpful.  Hint.
You will want to use a unix-like OS;  freeBSD, OpenBSD, Mac OS, or any of a number of flavors of gnu+linux.  So, first let's mention gnu + linux.  Linux is just the kernel;  NOT the system.  The system is primarily two things in a modern environment: 1) GNU,  and 2) Systemd.   You are going to want to learn those two components, and they are a steep learning curve.  Find a good "Learn Linux in Five Days" course on-line;  it will jump-start you;  I can recommend two or three if you're interested.



Ok, answers to your questions,  in reverse:

(1) You  have three choices for open source compilation development software,  in no particular order,  LLVM based clang,  Apple's (C|C++  -like) "Swift,"  and  GNU's  gcc.  These are freely available for virtually all platforms these days ( but not all ).  I use  LLVM,  clang,  and  gnu  C|C++ ( gcc ).  These will run right there on your Pinebook !

(2) In the old days newbies needed to learn the unix filesystem, permissions, and sysvinit.  Today the filesystem and permissions are still paramount but in a modern environment you will also need to learn Systemd-- I can only overstate this pedantically about 100 times, don't ignore it.  I'm willing to work with you and help you come up to speed, but caveats are 1) I won't do your work for you, and 2) I won't help you struggle with proprietary systems development models like Windows.

3)  Like anything,  you will gain gnu+linux experience by gaining experience ( pedantics ) Rome wasn't built in a day, and there is no royal road to geometry.

4)  If you're good at C, C++, and Assembler--  that's 3/4 the battle;  gnu+linux just makes using those tools cleaner, and easier. If by "embedded systems" you are referring to the sketches on the Arduino Uno,  yes,  programming on a unix-like environment is significantly more difficult.  You have something more than  setup() and loop().

5) Porting codes to Arm gets tricky because many of the underlying dependencies of the original build environment are not available for Arm;  if you can build them yourself, great,  but if not you'll need to find an alternative or scrap the project until your skills improve ( or get a project partner who can fill in the gaps ).



Again, sorry to be pedantic ( its really not my intent ).  I'm just trying to be complete;  you asked a mouth-full !

Rolleyes

Pendantic -- Not a problem. You are being quite helpful.

As far as Windows, Mac, or whatever, I don't really care. Success is the objective. (I already have the target application on Win-10. This is to get the program to run on the Pinebook, and learn to be at home on the underlying operating system.)

Since posting I've found GCC and the rest of the tools on Pinebook. My use of Unix based system dates pretty far back and as such my skills are very rusty, but all the tools present on that machine it makes sense to compile on the PB. It may not be as fast as my laptop, but I expect local machine idiosyncrasies to be somewhat supported in the compiler suite.

At any rate, the problems I expect are from a) lack of Xenix experience, b) the local hardware dependencies (hardware tree?), and the need for custom machine code, if any, embedded in source with macro conditionals to select the right CPU target. A nudge here and there as to what direction to take with a problem will be appreciated. I'm not looking for anyone to offload tasks onto - how else am I going to really understand the tools if I don't get my hands dirty with them?

Much thanks
"Get your facts straight first, then distort them as you wish." -- Mark Twain


Messages In This Thread
Linux app Manuskript on Pinebook - by Siliconserf - 08-30-2017, 12:12 AM
RE: Linux app Manuskript on Pinebook - by Siliconserf - 08-30-2017, 10:15 PM
RE: Linux app Manuskript on Pinebook - by dkryder - 08-30-2017, 11:10 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  DietPi OS for Pinebook MichaIng 3 6,937 03-11-2024, 05:02 PM
Last Post: oxoocoffee
  Slarm64 on Pinebook [Slackware Arm - 64 bit] KRT 46 70,857 09-26-2023, 03:18 PM
Last Post: mara
  Broke pinebook GUI, what to do, fix or install new? acruhl 2 1,546 07-13-2023, 05:43 PM
Last Post: acruhl
  Orignal PineBook jwp1000 1 1,164 07-10-2023, 07:44 AM
Last Post: tophneal
  Pinebook no longer boots rjtanner 12 5,653 04-13-2023, 01:09 PM
Last Post: tophneal
  Stock Debian on original Pinebook moonwalkers 1 3,750 01-29-2022, 10:37 PM
Last Post: cel
  Write image to eMMC - Pinebook 11.6" irongarment 4 4,700 01-04-2022, 09:22 PM
Last Post: irongarment
  E: The repository 'http://pinebook.kde.org.uk bionic Release' no longer has a Release pixelpaperyarn 3 5,918 05-07-2021, 10:20 AM
Last Post: tophneal
  pinebook.kde.org.uk no longer has release file?? supermassive 1 4,217 01-20-2021, 11:18 AM
Last Post: tophneal
Question Ran apt update on my Pinebook.. ford442 0 3,128 12-25-2020, 04:40 PM
Last Post: ford442

Forum Jump:


Users browsing this thread: 3 Guest(s)