Re: Re: distro
By: Digital Man to Nightfox on Fri Dec 22 2017 01:17 am
>> lol.. Although I wonder if it could at least compile a command-line
>> application? Technically, such an application would be a Win32/Win64
>> application.
DM> Yes, you can compile a command-line/console application (with the gcc
DM> included in the Ubuntu/bash package for Windows 10), but No, it does not
DM> generate a Win32/Win64 application.
DM> Here an example 'file' output from a file built with gcc:
DM> a.out: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically
DM> linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32,
DM> BuildID[sha1]=cc265875d07ab2d80e5c0a5c7543eca87a215d5d, not stripped
DM> And here's one built on the same system using a Windows tool-chain
DM> (targeting Win32/GUI):
DM> a.exe: PE32 executable (console) Intel 80386, for MS Windows
DM> And targeting Win32/console:
DM> a.exe: PE32 executable (GUI) Intel 80386, for MS Windows
DM> So it really is a complete Linux environment inside Windows, not just
DM> another command shell.
I see.. Interesting that Microsoft is including such an environment and those
tools in Windows.
Nightfox
---
■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
|