Subj : Re: distro
To   : Nightfox
From : Digital Man
Date : Fri Dec 22 2017 01:17 am

 Re: Re: distro
 By: Nightfox to Digital Man on Thu Dec 21 2017 06:51 pm

>   Re: Re: distro
>   By: Digital Man to Ennev on Thu Dec 21 2017 11:53 am
>
>  DM> You know what's funny about that Ubuntu/bash for Windows 10? It
>  DM> includes gcc. So the only C compiler that comes *with* Windows cannot
>  DM> compile Windows programs. The irony.
>
> lol..  Although I wonder if it could at least compile a command-line
> application?  Technically, such an application would be a Win32/Win64
> application.

Yes, you can compile a command-line/console application (with the gcc included
in the Ubuntu/bash package for Windows 10), but No, it does not generate a
Win32/Win64 application.

Here an example 'file' output from a file built with gcc:

a.out: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked,
interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32,
BuildID[sha1]=cc265875d07ab2d80e5c0a5c7543eca87a215d5d, not stripped

And here's one built on the same system using a Windows tool-chain (targeting
Win32/GUI):

a.exe: PE32 executable (console) Intel 80386, for MS Windows

And targeting Win32/console:

a.exe: PE32 executable (GUI) Intel 80386, for MS Windows

So it really is a complete Linux environment inside Windows, not just another
command shell.

                                           digital man

Synchronet "Real Fact" #32:
The second most prolific contributor to Synchronet is Stephen Hurd (Deuce).
Norco, CA WX: 52.3�F, 18.0% humidity, 0 mph SW wind, 0.00 inches rain/24hrs

---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net