What non-Linux unixes support openat()? - unix

openat() was added to POSIX in the POSIX.1-2008 revision, and has been supported by Linux since 2.6.16. How is support on non-Linux UNIXes? eg, Darwin, the *BSDs, and proprietary UNIXes.

Unlike the top answer is saying, all major BSDs and Apple's OS X seem to support it as of today:
DragonFly since DragonFly 2.3.
FreeBSD since FreeBSD 8.0.
Linux since Linux 2.6.16 (for completeness).
NetBSD since NetBSD 7.0.
OpenBSD since OpenBSD 5.0.
OS X since OS X 10.10.
Solaris.

Dragonfly BSD supports it, the rest of the BSDs don't. Solaris of course does.

FreeBSD supports it since version 8.0

Related

Eiffel Studio ARM Apple Silicon M1

I am hoping to create some software with Eiffel & Eiffel Studio
I have a Mac mini with the Apple M1 Arm Processor.
Is there a port of EiffelStudio to native Mac M1?
Does Eiffel Studio support native MacOS Windowing or is it still requiring Windows?
EiffelStudio 21.11 download page does not list a native build for macOS running on M1, only on x86-64. Provided that there are builds for Linux running on ARM, there should be no obstacles to make a build for M1, though.
As to the GUI part, starting from 21.11, non-Windows installations of EiffelStudio rely on GTK 3, that utilizes Quartz API. So, it should not require X Windows.
For now, EiffelStudio for macos M1 is not yet built officially.
However you can download https://ftp.eiffel.com/pub/beta/nightly/PorterPackage_106046.tar and compile it yourself.
For usual macosx-x86-64 machine, the command from the extracted folder is
./compile_exes macosx-x86-64
You may need to get inspired by config files from PorterPackage/C/CONFIGS/ to have a dedicated config for macos on M1 .

Is it possible to deploy WINDEV built on Windows OS into Linux OS?

I have my WINDEV application built for windows OS.
Can it be made to run on Linux OS ?
(just like how Java's bytecode can run on any platform ? or like dotnet core can run on both windows and Linux )
Hi you'll have to create a configuration for linux in your project. You can switch between these two configuration to compile for Windows or Linux.
Some part of your coe might work only for Windows and others for Linux.
Link to how to create a config : https://doc.windev.com/en-US/?9000114&name=
Can only work on
Ubuntu : Ubuntu 18.04.4 LTS
Dedian : Debian 8.11
OpenSUSE: OpenSUSE Leap 15.0
CentOS: CentOS 7.7
We need to install WINE (windows on linux) to make the windows WINDEV Run on Linux.
Also we may need to modify the functions for Linux , since the functions sometimes will be specific to windows

Does neo4j support UNIX OS (AIX, HP-US, Solaris, SunOS)?

How does each edition (community, enterprise) support UNIX?
I need general information on UNIX, including SunOS, Solaris, HP-UX, and AIX.
If all versions of Unix are supported, can it also run with the downloaded official versions of Linux from the homepage? Or do I need to get a Unix-only package through separate technical support?
The Installation chapter of the neo4j Operations Manual should be helpful, especially the Linux installation section; and the System requirements section documents the supported versions of Linux.
You just install the desired Linux distribution from its official site.
You can find out more about the different Linux distributions supported and how to download them from: linux installation
I hope this helps.

Deployment of statically linked Qt application backward compatibility

This is my first attempt at making a Qt Application work on different systems.
I have opted for static linking method.I have already compiled the sources of Qt 5.5 and compiled my application with the static Qt. The executable is working fine on my computer.
My operating system is Ubuntu 15.04. But when I tried to run the same executable on Ubuntu 14.04 then I ran into trouble. The key details of the error message are given below.
libstdc++.so.6 cxxabi_1.3.8 not found
I did a standard Google search and realised it was because I had a newer version of it on my machine, the machine where I had created the executable. There were so many different approaches to handle this problem. One of the solutions I saw involved shipping your own copy of libstdc++.so with the executable. But when I tried to copy the .so file to a pen drive, there was a warning saying that the file system does not support such files.
My question is , what am I doing wrong ? Also if I wanted to make the executable target Ubuntu 10.04, what would be the correct procedure handling the backward compatibility issues. I know that one method would be to install the same OS on my machine and then create the executable , is there any other way?
libstd++ is backward compatible but not forward compatible, which means you can run a program with a newer version of libstdc++ than the one you compiled it with but not vice-versa. This is what you experienced.
One way to deal with this issue is using older OS versions as the build machine. When you for example use Ubuntu 14.04 LTS, you'll get this list of compatible target systems.
The build system you're using will probably limit available compilers. On Ubuntu 14.04 you get GCC 4.8, which is good for most C++11 and packages for clang 3.6 are available, which will give you full C++14 support.
Targeting Ubuntu 10.04 will be challenging if you do not want to use a stone age compiler.
The idea of shipping libstdc++ will not help you much because you'll run into the same problem with libc.

Qt Mac binary installs won't run on PowerPC/G5

I installed the 32 bit Cocoa binary for mac on a G5, none of the Qt apps would run, so I uninstalled it, installed the Carbon binary, & none of those apps would run. What am I doing wrong? I get error messages saying the "application is not supported on this platform".
Mac 10.5.8
Xcode 3.1.2
Qt 4.7.3
1.8 GHz G5 with 2.5 GB RAM.
You want qt-mac-opensource-X.Y.Z.dmg (where X.Y.Z <= 4.6.4, as I understand it; newer versions can be built from source), not qt-mac-cocoa-opensource-X.Y.Z.dmg or qt-mac-cocoa-carbon-X.Y.Z.dmg.
(I believe 4.7 changed the default from carbon to cocoa, and that this is also when Trolltech/Nokia stopped building ppc/i386 universal – I have no clue why, and they don't seem to have made any official announcement of this.)
Anyway, you can grab it at ftp://ftp.qt.nokia.com/qt/source/qt-mac-opensource-4.6.4.dmg.

Resources