From dmuysers at hotmail.com Sat Sep 7 13:08:16 2019 From: dmuysers at hotmail.com (dirk muysers) Date: Sat, 7 Sep 2019 11:08:16 +0000 Subject: [M3devel] Compiling for Windows Message-ID: One thing I never understood: Why, in order to compile Modula-3 code, am I obliged to download, install (and learn to use) an over-complicated MS Visual Studio that takes more than two GB of memory, while there are lots of free C compilers and linkers (including for Windows) The Tiny C Compiler (TCC) has everything we need (header files, compiler, linker), compiles and links about 10 times faster than other C compilers and occupies 6MB on one's computer. I don't want to learn the thousand and one subtilities of the umpteen times refactored MS monster. All I want is to effortlessly compile and run my M3 code. The only thing I want to know about Windows is its runtime API, the rest I dont care a bit. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at darko.org Mon Sep 9 18:31:12 2019 From: lists at darko.org (Darko Volaric) Date: Mon, 9 Sep 2019 18:31:12 +0200 Subject: [M3devel] Compiling for Windows In-Reply-To: References: Message-ID: This is a good idea, but is Tiny C not pretty much a drop-in for VS? The command line options claim to be GCC compatible, is there some other dependency? On Sat, Sep 7, 2019 at 1:08 PM dirk muysers wrote: > One thing I never understood: > > Why, in order to compile Modula-3 code, am I obliged to download, install > (and learn to use) an over-complicated MS Visual Studio that takes more > than two GB of memory, while there are lots of free C compilers and linkers > (including for Windows) > > The Tiny C Compiler (TCC) has everything we need (header files, compiler, > linker), compiles and links about 10 times faster than other C compilers > and occupies 6MB on one's computer. > > I don't want to learn the thousand and one subtilities of the umpteen > times refactored MS monster. All I want is to effortlessly compile and run > my M3 code. The only thing I want to know about Windows is its runtime API, > the rest I dont care a bit. > > _______________________________________________ > M3devel mailing list > M3devel at elegosoft.com > https://m3lists.elegosoft.com/mailman/listinfo/m3devel > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jayk123 at hotmail.com Wed Sep 11 10:31:58 2019 From: jayk123 at hotmail.com (Jay K) Date: Wed, 11 Sep 2019 08:31:58 +0000 Subject: [M3devel] Compiling for Windows In-Reply-To: References: , Message-ID: The Microsoft toolset is not so bad. In fact it is quite good. Sure, software setup is never good, and not improving rapidly In our lifetimes. Arguably it has gotten worse -- You might remember. There were days before "setup". You just inserted the "application" disk or cartridge or tape and booted it. But I would not be so quick to try to replace this compiler and linker. - Jay ________________________________ From: M3devel on behalf of Darko Volaric Sent: Monday, September 9, 2019 4:31 PM To: dirk muysers Cc: m3devel at elegosoft.com Subject: Re: [M3devel] Compiling for Windows This is a good idea, but is Tiny C not pretty much a drop-in for VS? The command line options claim to be GCC compatible, is there some other dependency? On Sat, Sep 7, 2019 at 1:08 PM dirk muysers > wrote: One thing I never understood: Why, in order to compile Modula-3 code, am I obliged to download, install (and learn to use) an over-complicated MS Visual Studio that takes more than two GB of memory, while there are lots of free C compilers and linkers (including for Windows) The Tiny C Compiler (TCC) has everything we need (header files, compiler, linker), compiles and links about 10 times faster than other C compilers and occupies 6MB on one's computer. I don't want to learn the thousand and one subtilities of the umpteen times refactored MS monster. All I want is to effortlessly compile and run my M3 code. The only thing I want to know about Windows is its runtime API, the rest I dont care a bit. _______________________________________________ M3devel mailing list M3devel at elegosoft.com https://m3lists.elegosoft.com/mailman/listinfo/m3devel -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmuysers at hotmail.com Sat Sep 14 11:43:35 2019 From: dmuysers at hotmail.com (dirk muysers) Date: Sat, 14 Sep 2019 09:43:35 +0000 Subject: [M3devel] Compiling for Windows Message-ID: I tried to tweak repeatedly environment variables to compile my modula-3 code base after updating the Microsoft tools and still get linking errors. I am a Modula-3 programmer, and as such, I am not supposed to understand C++ I am not supposed to understand MS Visual Studio I am not supposed to understand the Windows SDKs I fear that this will be the end of Modula-3 for me. (Running Windows 7.1 Pro on AMD64, MS Visual Studio 2019, Windows SDK VC10, last versions) -------------- next part -------------- An HTML attachment was scrubbed... URL: From jayk123 at hotmail.com Sat Sep 14 13:59:00 2019 From: jayk123 at hotmail.com (Jay K) Date: Sat, 14 Sep 2019 11:59:00 +0000 Subject: [M3devel] Compiling for Windows In-Reply-To: References: Message-ID: There is no such thing as Windows 7.1 What are the link errors? You are not supposed to understand any of that, true. You are just supposed to install some stuff. Like everyone else. But I think you did a bunch of random installs and uninstall, at which point it can help to poke around a little. When you run the Developer Command Prompt, do you run x86 or amd64? Their names are confusing. You can tell by running "cl" and it will tell you what processor it targets. You want x86. - Jay ________________________________ From: M3devel on behalf of dirk muysers Sent: Saturday, September 14, 2019 9:43 AM To: m3devel at elegosoft.com Subject: [M3devel] Compiling for Windows I tried to tweak repeatedly environment variables to compile my modula-3 code base after updating the Microsoft tools and still get linking errors. I am a Modula-3 programmer, and as such, I am not supposed to understand C++ I am not supposed to understand MS Visual Studio I am not supposed to understand the Windows SDKs I fear that this will be the end of Modula-3 for me. (Running Windows 7.1 Pro on AMD64, MS Visual Studio 2019, Windows SDK VC10, last versions) -------------- next part -------------- An HTML attachment was scrubbed... URL: From dabenavidesd at yahoo.es Sun Sep 15 02:02:35 2019 From: dabenavidesd at yahoo.es (Daniel Alejandro Benavides D.) Date: Sun, 15 Sep 2019 00:02:35 +0000 (UTC) Subject: [M3devel] Compiling for Windows In-Reply-To: References: Message-ID: <1128912849.9876133.1568505755321@mail.yahoo.com> Hi all:I read somewhere in a book, COM was done in Modula-3, so I believe its good to support MS tools. Thanks in advance En s?bado, 14 de septiembre de 2019 6:59:24 GMT-5, Jay K escribi?: #yiv0918969223 P {margin-top:0;margin-bottom:0;}There is no such thing as Windows 7.1 What are the link errors? You are not supposed to understand any of that, true.You are just supposed to install some stuff.Like everyone else.But I think you did a bunch of random installs and uninstall, at which point it can help to poke around a little. When you run the Developer Command Prompt, do you run x86 or amd64?Their names are confusing.You can tell by running "cl" and it will tell you what processor it targets.You want x86. ?- Jay From: M3devel on behalf of dirk muysers Sent: Saturday, September 14, 2019 9:43 AM To: m3devel at elegosoft.com Subject: [M3devel] Compiling for Windows?I tried to tweak repeatedly environment variables to compile my modula-3 code base after updating the Microsoft tools and still get linking errors. I am a Modula-3 programmer, and as such,I am not supposed to understand C++I am not supposed to understand MS Visual StudioI am not supposed to understand the Windows SDKsI fear that this will be the end of Modula-3 for me. (Running Windows 7.1 Pro on AMD64, MS Visual Studio 2019,Windows SDK VC10, last versions)_______________________________________________ M3devel mailing list M3devel at elegosoft.com https://m3lists.elegosoft.com/mailman/listinfo/m3devel -------------- next part -------------- An HTML attachment was scrubbed... URL: