0

In my experience printer drivers are compiled for a specific OS and CPU architecture. Assume a Lexmark E210 Printer. The files seem to be the C source files for LINUX operating systems.

  1. Are these files specific for the Intel architecture?
  2. What are the indicators in the 'source' file(s) to determine if these files, targeted for LINUX will compile for an ARM architecture (Raspberry Pi 3 and Asus RT-68U?)
  3. Any pointers to examples of how to compile and install?

This question is posed, because if there are 'non-starter' indicators, it is always better to know before compiling and more importantly the 'why' of said indicators.

  • In principle C sources will work on any architecture you can find a compiler for. However, sometimes programmers make assumptions about the architecture and don't write portable code; in that case you need to fix the bugs caused by such sloppy programming. Note that libraries vary by OS, but the tar files indicate the source code is for unix-ish OS's, so that should work out. Compiling and installing isn't different to compiling or installing other programs from source. Maybe practice that with non-system software first. – dirkt Apr 30 '19 at 11:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.