Questions tagged [sua]

SUA stands for Subsystem for Unix-based Applications.

The Subsystem for Unix-based Applications (SUA) is a Microsoft add-on to the Microsoft Windows server-class operating systems including Windows 7. SUA provides the ability to compile and execute UNIX-based applications on Microsoft Windows. SUA includes Interix to provide extended POSIX compliance for creating applications.

12 questions
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
4
votes
1 answer

Creating POSIX applications in Windows 7?

So, is POSIX subsystem still around? I have Visual Studio 2012. I tried to compile a "hello world" Posix application and it seems to be missing the entry point: >cl stuff.cpp /Fostuff.obj /link /subsystem:posix LINK : error LNK2001: unresolved…
Ivan Krivyakov
  • 1,898
  • 1
  • 17
  • 27
2
votes
2 answers

How to pass the output of command2 as a input of command1 in a Windows command prompt

In my program I have to use the diff command from SUA to find out the difference of 2 files. I use the a command as follows, diff xx yy here xx - /a/s/xx.txt yy - /a/s/yy/txt The path of xx.txt and yy.txt is in Windows format. But in SUA 'diff'…
San
  • 23
  • 5
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…
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

Getting Windows 7 SUA's bash shell working with emacs (EmacsW32)?

Having recently purchased Windows 7 Ultimate in order to gain access to the SUA - http://www.suacommunity.com - subsystem, I have been struggling to get SUA's bash utility (/usr/local/bin/bash) working with EmacsW32. SUA comes with ksh and csh by…
codeasone
  • 1,953
  • 2
  • 23
  • 30
1
vote
1 answer

Python OS-dependent libraries: Windows 7 SUA

When reading the Python docs, many libraries/functions indicate they work differently, or not at all, depending on the operating system. Most of the libraries depend on whether the OS is POSIX compliant, or Win32. When using the SUA package with…
user2097818
  • 1,821
  • 3
  • 16
  • 34
1
vote
1 answer

SUA-Korn shell not retaining environment variables

I am using SUA-Korn shell on Windows where in I have set an alias in .profile as alias sqlplus='sqlplus.exe' So when I start SUA-Korn shell and run sqlplus it calls sqlplus.exe and works fine but when I put same command in .ksh file and run it gives…
anonymous
  • 1,920
  • 2
  • 20
  • 30
0
votes
1 answer

How Can I Tell what Username RSH sends from SUA?

I am on a Windows Vista 64-bit Enterprise machine with Subsystem for Unix Applications installed and the applications downloaded. I am attempting to use RSH to connect to a FreeBSD server. The command I would like to execute is: rsh…
Zach
  • 2,145
  • 3
  • 17
  • 32
0
votes
2 answers

Where is the Windows XP SUA ksh default .profile file?

How can I figure out where the Windows XP SUA ksh .profile file is on a system where I was not the person who installed it? (I'm searching google for the answer, but the combinations of ksh, windows XP, and profile lead to many, many hits that I am…
simpleuser
  • 1,617
  • 25
  • 36
0
votes
1 answer

How to change SUA from case-insensitive to case-sensitive

I have mistaken of unmarking the 'case-sensitive' checkbox when installing the Subsystem for Unix-based Applications (SUA). Now when I try to install 'Add-on Bundles from Interop Systems' on this link,it give out warning that not case-sensitive…
clouds
  • 3
  • 3
0
votes
3 answers

Deduplicating a Text File and keeping the last occurence in one output file and moving others to another output file

I have a file with dups records (dups are in columns). I want to keep only the last occurrence of the dup records in a file and move the all other dups in another file. File : input foo j bar bn bar b bar bn bar bn bar bn kkk hh fjk ff foo jj xxx…
user2018441
  • 63
  • 1
  • 1
  • 8