On 26/12/17 22:33, jacobnavia wrote:
> Le 24/12/2017 à 21:17, Öö Tiib a écrit :
>> As my Linux-pc has a malfunctional graphics-card, I can't verify which
>> code does compile with gcc and clang.
>
> You can have a linux screen in a mac using vnc. Of course it runs on
> linux too, so if your linux machine is connected to the network, it
> should work.
vnc works as viewer and server on any "big" system (Linux, Mac, Windows,
BSD, etc.). I find it particularly useful to access Windows systems
remotely, because they don't normally have sshd and you often need a gui
for them.
But if you are using ssh and text mode editors like vi, why bother with
vnc? It is a lot more efficient to use ssh directly to the Linux
machines than to go via VNC. (Of course, I may be misunderstanding your
setup.)
>
> I have only one screen. I connect 4 machines, (a mac, a PC, and two
> small machines running on ARM/Debian) and it looks amazing to me.
If you have the desk space, multiple screens are worth the investment -
you can never have too many (nor too many pixels or inches).
>
> No games, of course. I just ned a ssh text interface for work. I still
> use vi (eclipse is too huge to try to move it to those small CPUs).
You can happily use eclipse on your Mac to work with files on your ARM
boards. A common setup would be to have eclipse on your "host" system
(a relatively big and fast Mac or Linux PC, or Windows if you are
willing to work much harder on the setup), and have a cross-compiler on
it. You do all your development - editing, compiling, debugging,
documentation - on that machine. Export the filesystem as NFS and mount
it on the ARM boards remotely. Then via ssh to the ARM boards, you can
run the program as though it were local to the machine. Debugging is
done with remote gdb - your host machine has the debugger gui, while the
code runs on the ARM board. It can take a little effort (and guides on
the internet) to get it all set up, but it is a lot more efficient to
work with than to do the editing and compiling on the small ARM board.