Is installing MONO on an IBM RISC running AIX possible and or practical? And if so where do I start? - mono

Is installing MONO on an IBM RISC running AIX possible and or practical?
And if so where do I start?

AIX is not one of Mono's supported platforms.
From the FAQ:
Mono currently runs on Linux, Windows, Solaris, FreeBSD and MacOS X. The Just-In-Time engine (JIT) is available on x86 and PowerPC, Sparc and S390 processors and can generate code and optimizations tailored for a particular CPU. Interpreters exist for the Itanium, HP-PA, StrongARM CPUs.
You could always download the source, and compile it yourself, after working out the platform specifics. Namely, the JITter would need to be ported to handle the processor.

Related

FreeRTOS x86 in virtual environment

I've been reading about FreeRTOS and seems like its widely used on microcontrollers and microprocessors like RasPi/BBB etc. I also read that it can be run on x86 platform and I want to test it.
Can I run FreeRTOS as a VM on virtual box or VMware?
Whats the best way to use FreeRTOS on x86 platform?
Thanks in advance.
One solution to use FreeRTOS on x86 is to run an available FreeRTOS simulator.
e.g. FreeRTOS Windows port:
This allows FreeRTOS to be run in a Windows environment - although
true real time behaviour cannot be achieved. Demo projects are
provided for both Eclipse with MingW (GCC) and Visual Studio 2010
Express Edition.
See the Richard's answer on this topic:
Building FreeRTOS for x86
but [...] the timing is all over the place and simulated time is much lower than
real time (because the timing resolution and accuracy in Windows is so
low compared to a real time system).

How to cross-compile the WebKit Gtk for ARM?

I want to cross-compile the WebKit Gtk(recent revision 174059) for ARM architecture.
I searched the way for it in official web site(trac.webkit.org/wiki/BuildingGtk) and google search, but i couldn't find the way.
I'm using Ubuntu 14.04 LTS and already built WebKit Gtk in x86 architecture successfulă…Ły .
so I considered using the cross-compile tools like 'scratchbox', but it was very complex jobs and didn't work well. because Webkit needs many uninstalled libraries and it's build system also uses 'jhbuild'.
is there any simple way to cross-compile WebKit Gtk for ARM?
I'm no sure about cross compile, but you can try qEMU emulator of ARM CPU and up&run Stretch armhf release of Debian.
PS
Unfortunately qEMU is unbearable slow, so it will require a HUGE amount of time to install all dependancies and build WebKit.
In my case I've bought used ChromeBook with ARM and run there Debian over crouton, it saved me a lot of time to build WebKit GTK+

Using OpenCL in linux and IDEs

For using OpenCL in linux should I have NVIDIA GPU?
In my computer I have an Intel GPU and i3 Intel CPU supported SSE3 and SSE4, I want program whith OpenCL in windows can I use an other IDE than "Visual Studio" for example "Code Blocks"?
Thank you
You can use OpenCL with any GPU, as it can run on a CPU as well (that's one of the strong points of OpenCL vs CUDA and the like).
But if you want OpenCL to actually use your GPU and not (or not only) your CPU, you will have to have a driver for your GPU which supports OpenCL, e.g. AMD or NVIDIA. Intel also lists Intel HD and Intel Iris graphic chips as supported through their OpenCL SDK, but you should probably check what you're actually running on if you want to make sure (e.g. check at the start of your program - see Appendix A).
Also, OpenCL has NOTHING to do with CPU extensions like SSE (specific implementations may use SSE/AVX/whatever CPU extension for better performance, but OpenCL does not require any of those per se), or with the IDE you use, and only very little with operating system. So you're free to use whichever IDE you want to (at the end, the IDE is only the editor you write your code with). In the case of Visual Studio people often tend to mix IDE with compiler, as Visual Studio uses it's own compiler per default, but afaik even there you're free to change it to e.g. the mingw or cygwin provided compiler, or use the icc. (Feel free to correct me on the Visual Studio part as I've only tested it once before completely wiping it forever)
Appendix A: How to check which devices can be used by OpenCL on a given system http://dhruba.name/2012/08/14/opencl-cookbook-listing-all-devices-and-their-critical-attributes/

Driver for USB AVR JTAG-ISP device

I've got a programming device called USB AVR JTAG-ISP v. 1.2.
Where can I find drivers and a good IDE for it?
For Windows, AVR Studio 4 as per the other answer.
For Linux, you want the avr-gcc and AVRDUDE packages from your OS distribution, plus your choice of C IDEs for Linux.
For OS X, you want Crosspack and Xcode.
On Linux or OS X, depending on which device you are programming, you may need to download the source for AVRDUDE and rebuild it, which will require that you also get libusb 0.1.12 (not libusb 1.x).
Try the "AVR Studio 4" on Atmel's website.
I find AVR studio to be infuriating, buggy and generally terrible.
Eclipse (available on all platforms) has wonderful end-to-end AVR integration available if you install the avr plugin, avr-gcc and avrdude.
If you're running on Ubuntu beware that it doesn't always identify the ISP right off the bat

Is it possible to deliver cross-platform binaries of FreePascal using only one host OS?

I'm doing a little app that I want to distribute in different platforms, at least the 3 major ones.
Is it possible to use only Windows has the host OS to compile the binaries for Linux, Mac OS X and other supported platforms without resorting to virtual machines?
Or should I ask around in some community to help me compile on, well OS X, actually, since I can virtualize a Linux machine quite easy?
It is possible to compile from one plateform to another, it is called cross-compilation. You will find extensive informations at http://www.stack.nl/~marcov/buildfaq.pdf
The buildfaq above contains sample cross-compilation :
from Windows to Linux,
from FreeBSD to AMD64 Linux
The FPC download page contains :
the i386-win32 to x86_64-win64 cross-compiler
the i386-win32 to arm-wince cross-compiler
The FPC mailing lists are at http://www.freepascal.org/maillist.var
You will find more informations about FPC at http://www.freepascal.org/moreinfo.var
(I'm the author of the buildfaq document above)
There are some limitations. You can't target x86 from powerpc, because powerpc misses an "extended" type. But in generally it works.
I have generated a complete Lazarus for OS X on Windows.
I would virtualize Linux, as even if you can cross-compile, it means you're not testing the binaries on their native platforms. OS X is a trickier problem.
It is not possible to compile from one platform to another. We have a Mac and use FPC quite often. If you need some help with compiling on a mac, drop me a message.