Questions tagged [interix]

Interix is a POSIX conformant add-on for the Microsoft Windows operating systems.

Interix (also referred to as Microsoft SFU - Services For Unix) is an optional, POSIX-conformant Unix environment subsystem for Windows NT derived operating systems. Interix is a component of Windows Services for UNIX (SUA), and a superset of the Microsoft POSIX subsystem. Like the POSIX subsystem, Interix is an environment subsystem for the NT kernel. It includes numerous open source utility software programs and libraries.

14 questions
11
votes
2 answers

C++ : Interix signals

How to compile/ use signals on the Interix platform? I am unable to get it to compile because Interix appears to be non-POSIX compliant, at least in its implementation of signal.h. If anyone has found a way to work around this and allow code with…
bguiz
  • 27,371
  • 47
  • 154
  • 243
8
votes
1 answer

stddef.h: error: duplicate 'unsigned'

I'm compiling grep on the 64-bit GCC compiler for Windows 7 x64 SUA/Interix. It chokes on the marked line in stddef.h: #ifndef _SIZE_T_DEFINED #if defined (lp64) || defined(_WIN64) #ifdef lp64 typedef unsigned long size_t; // …
user541686
  • 205,094
  • 128
  • 528
  • 886
7
votes
1 answer

Does Interix implement fork()?

On Unix to Windows Porting Dictionary for HPC page for fork() it's written There is no equivalent Windows API to the Unix fork() or vfork(). The Microsoft Subsystem for Unix-based Applications (SUA or Interix) is a Unix environment that has…
Piotr Dobrogost
  • 41,292
  • 40
  • 236
  • 366
3
votes
7 answers

Linux Development C/C++/bash/python on windows-7

Before resorting to stackoverflow, i have spend a lot of times looking for the solutions. I have been a linux-user/developer for few years, now shifting to windows-7. I am looking for seting-up a development environment (mainly c/c++/bash/python) on…
Vivek Sharma
  • 3,794
  • 7
  • 38
  • 48
3
votes
1 answer

How to figure out why UDP is only accepting packets at a relatively slow rate?

I'm using Interix on Windows XP to port my C++ Linux application more readily to port to Windows XP. My application sends and receives packets over a socket to and from a nearby machine running Linux. When sending, I'm only getting throughput of…
WilliamKF
  • 41,123
  • 68
  • 193
  • 295
3
votes
2 answers

Is there a tool that can convert a Visual Studio object file to GCC format?

I am building a C++ application on Windows using Interix and need to link in three object files to supply a third-party licensing module's functionality. The third party has supplied the object files as built by Visual Studio. Is there anyway to…
WilliamKF
  • 41,123
  • 68
  • 193
  • 295
2
votes
0 answers

"ImportError: No module named _multiprocessing" in python 2.6

It is my understanding that Python 2.6+ comes out of the box with multiprocessing. However, I am receiving an ImportError: No module named _multiprocessing called from usr/local/lib/python2.6/multiprocessing/__init__.py, line 83. although…
Ocasta Eshu
  • 841
  • 3
  • 11
  • 23
2
votes
2 answers

Best Linux distro for cross-compiling to SUA

I'm very interested in using Linux / GCC for cross-compiling to Microsoft SUA (Subsystem for Unix Applications) format (I have SUA 6.1 as part of Windows 7, 64-bits). Using SUA to natively compile programs and their dependencies is a hassle given…
2
votes
0 answers

gcc won't compile simple C program on Interix- Windows 7 x64

I just set up Interix on my new workstation here at the lab. Originally, I was just going to set up the x64 tools (you know, the ones from Interop), but when I did that, some things didn't work. Then I went ahead and installed the x86 tools. I'm…
nerdenator
  • 1,265
  • 2
  • 18
  • 35
1
vote
1 answer

C Compiler cannot create executables on SUA/Interix

Whenever I try to build an application with Interix's GCC on Windows, this is what happens: /tmp/grep-2.5.4-src/build$ ../configure --build=x86_64-pc-interix6 checking for a BSD-compatible install... /bin/install -c checking whether build…
user541686
  • 205,094
  • 128
  • 528
  • 886
1
vote
1 answer

C++ application crashes while instantiating an ofstream object.

I have a very irritating issue while running a C++ application. I am using the pgcpp compiler on the Interix subsystem of Windows Xp. My problem is essentially described here: I have a class definition in a header file. This header file is included…
Aditya
  • 31
  • 1
  • 4
1
vote
0 answers

What does "Context stack underflow" mean in gdb?

I'm running gdb inside Gentoo inside Interix on Windows XP. There is a C++ frame in my application that if I enter it, gdb gives the error Context stack underflow. Similarly, if I try to set a breakpoint inside that function it also states Context…
WilliamKF
  • 41,123
  • 68
  • 193
  • 295
1
vote
0 answers

Will libraries built under Gentoo with Interix work outside Gentoo?

The Gentoo Linux distribution has a version that works on Interix x86 Windows. If I build C++ libraries using gcc, will these libraries work with an executable not built inside Gentoo, but only inside Interix? Do I create a dependency on any…
WilliamKF
  • 41,123
  • 68
  • 193
  • 295
1
vote
0 answers

Which boost file includes libstdcpp3.hpp?

When I include boost in my code, I get precompiler errors from gcc v3.4.6 complaining that Boost does not support threading when built inside an Interix SUA v3.5 shell. This error is eliminated by including boost/config/stdlib/libstdcpp3.hpp which…
Ocasta Eshu
  • 841
  • 3
  • 11
  • 23