Slashdot Mirror


Open Watcom 1.0 Released

JoshRendlesham writes "The Open Watcom C/C++ and FORTRAN 1.0 compilers have been officially released. The source, and binaries for Win32 and OS/2 systems, are available. This release also means that outside developers can join and contribute to the project." Or if you prefer, gcc is up to 3.2.2.

19 of 287 comments (clear)

  1. Just don't... by gearheadsmp · · Score: 2, Informative

    use gcc-3.2.1-r6. It really fscks up Gentoo installations, and I don't think it's all that healthy for other distros either.

    1. Re:Just don't... by commanderfoxtrot · · Score: 2, Informative

      No, 3.2.1-r6 does not ruin Gentoo machines. There were a couple of initial problems due to a lack documentation on *how* to upgrade GCC. Take a look at the "Gentoo Weekly Newsletter" of a few weeks back.

      I have run 3.2.1r6 on my Gentoo machines since it came out with no problems whatsoever.

      BTW, anyone know when some more Duron/Morgan specific optimisations will appear? I'm using cpu=athlon-xp at the moment...

      --
      http://blog.grcm.net/
  2. Re:DOS days by ctr2sprt · · Score: 5, Informative
    Wasn't it the first mainstream compiler to include a complete DOS extender and feature full 32-bit support? I remember wanting it so badly in the DOS days, but I was a broke student and could barely afford the modem I used to download porn. I had to make do with Borland C++ (which was great, but lacked 32-bit support unless you felt like writing a lot of assembler).

    Anyway, I'm excited by this because, well, competition is almost always a good thing. Hopefully gcc and Watcom can feed off each other and both products will improve. And perhaps more importantly for the build-everything users, another open source compiler might start moving people (like the developers of autoconf) to better support non-gcc compilers. This way, users who prefer Watcom's (or Intel's, or...) compiler can use it without as much tweaking.

  3. Re:DOS days by Graspee_Leemoor · · Score: 5, Informative

    The version of gcc for dos: DJGPP had a DOS extender and 32-bit support but it was slower than Watcom by a large amount.

    graspee

  4. i have been waiting for this news by zymano · · Score: 1, Informative

    I use the free symantec/digital mars c++ compiler also http://www.digitalmars.com/download/freecompiler.h tml it's good to see alternatives to gcc compilers. One question is what if you use these compilers in commercial software development.

  5. GCC by mark_space2001 · · Score: 4, Informative
    I'm with michael on this one. There are a lot of free compilers out there now, including Microsoft VC++ and Borland

    Gcc is good, open, and could use some work, so please think about helping out. My favorite is MinGW which is a really nice and decently maintained Win32 version of gcc and binutils. MinGW also distributes MSYS which is a bash shell and other gnu utilities that make a windows box capable of running a Linux configure script. This allows much easier porting of GNU applications to windows and vice versa. There are several GUI compilers based on MinGW too, see the web page FAQ. A nice GUI GCC based compiler for Win32 is Bloodshed Dev-C++, which I've used.

    Cygwin is good too but I prefer MinGW (obviously).

    So think about helping out, our tools will only get better if folks work on them.

    1. Re:GCC by The+Bungi · · Score: 2, Informative
      Yes. It includes the C#, VB.NET and JScript.NET compilers, as well as the C and C++ compilers, along with the up to date libs and headers.

      This is surprising (was to me), because although the MS linker had been available previously with the Platform SDK, the compiler itself had never been (the libs and headers were).

      The .NET compilers have to be present in any .NET-based environment, so they have no choice but to ship them. But the C++ compiler does not. I'm not sure why they're doing this now, but hey.

      In fact, there are a couple of projects now trying to get together a free front end/IDE for the compiler, although I'm not sure if that violates their EULA. There are free/open front ends for C# (SharpDevelop and WebMatrix) available today, of course.

  6. Re:Free software not a dumping ground! by edwdig · · Score: 4, Informative

    The Watcom compiler is the only compiler that supports writing 32 bit code using 48 bit pointers. GCC only supports code where all the segment registers contain the same value.

  7. Re:Superb! by grub · · Score: 5, Informative

    Don't laugh, Fortran is still widely used in the scientific field. Optimizing compilers such as the SGI/MIPS compilers do good jobs at generating tight code from Fortran. C and C++ are not the easiest things to optimize automagically.

    It's no coincidence that SGI and Cray have excellent Fortran compilers, their customers demand it.

    (sorry I spent all of last Wednesday in 2 seminars with a fellow from SGI's Canadian HPC group, I'm still buzzing. :))

    --
    Trolling is a art,
  8. Re:Free software not a dumping ground! by Ninja+Programmer · · Score: 2, Informative
    • I do not see anything they can offer.
    They offer:
    1. An integrated IDE
    2. Source compatibility with MS VC++
    3. OBJ/Library compatibility with MS VC++ and MASM/TASM/NASM
    4. Compatibility with numerous DOS extenders
    5. A far better "MAKE" than gnumake, Solaris make, or MS's nmake
    6. Open source Win32 compatibility
    7. Inline assembler that uses the proper IA-32 syntax
    I am told, that the sources for the compiler itself are very well structured. I am also told that the sources for gcc are a complete mess.
    • Even if they had, would it not be better to just release the source code under the GNU GPL and integrate any valuable part into gcc?
    The Sybase Open source license protects Sybase. While that's not important to you, it *is* important to Sybase. The open source people have endorsed it as a valid open source license, so that is that.
    • Perhaps some years ago this would have been great. Now it is too little, too late.
    Now on this point you might be correct. However, that remains to be seen.
  9. What happened to Watcom by Anonymous Coward · · Score: 5, Informative

    Just wondering what they(watcom) are up to now.

    IIRC: Watcom was purchased by Powersoft. Powersoft's main product was a front-end database tool called PowerBuilder. One of Watcom's products was a small database called Watcom SQL. Powersoft bought Watcom so that they could ship Watcom SQL along with Powerbuilder, so that Powerbuilder could run OOTB.

    Oddly enough, Sybase bought Powersoft a few years later so that they could use Powerbuilder to compete against Oracle's front-end tools. This meant Sybase ended up with Watcom's assets, even though they were not particularly interested in them.

  10. Re:DOS days by ma++i+ude · · Score: 5, Informative
    What exactly did dos4gw.exe do, incidently? I always used to wonder.
    It allowed the programmer to use all of the available memory. Remember when you had problems getting programs running because there was not enough conventional memory (ie. the first 640KB)? Well, dos/4gw made is easy to write programs free of these memory limitations. More information at http://www.tenberry.com/dos4g/
    --
    You can't shut us down! The Internet is about the free exchange and sale of other people's ideas!
  11. Re:Watcom Memories by Locutus · · Score: 4, Informative

    What killed them? If you remember when this all was happening, Microsoft was out to take over C++ and all the companies who did cross-platform frameworks were attached in standard MS style. Monopoly money funded subsidizing of their Visual C-- product and MS-MFC. Then when Watcom wanted to include MFC with the Watcom C++ compiler package, Microsoft said that would only happen if ALL other frameworks on the CD were removed. Remember, Watcom C++ shipped with DOS16, DOS32, Win16, Win32c, Win32, OS/2-16, OS/2-32 compilers with the IBM OCL framework and some others like Zinc if I remember correctly.

    Watcom would have to eliminate all the support for the other platforms to license MFC and ship it with their compilers. And Microsoft was all but giving Visual C-- away at the time also.

    The Watcom compiler was one of the fastest on the market from what I remember. I had heard that IBM used it for the WinOS/2 subsystem on OS/2 to make it a faster Windows than Dos/Windows.

    Think about it, Microsoft HATES anything that abstracts the Win32 API and crossplatform frameworks and crossplatform compilers where one of the early targets of the beast in Redmond. Borland was the only one that got any money out of taking Microsoft to court for attacking it's business using illegal means. The others were too small and just folded and looked for other ways to make a business.

    LoB

    --
    "Anyone who stands out in the middle of a road looks like roadkill to me." --Linus
  12. Re:Superb! by RV.eq.VFG · · Score: 2, Informative
    If somebody could point out a free tool(set) that could handle F9x that I'm unaware of, I'd greatly appreciate it

    Its not free in the FSF sense but intel do a f95 compiler which is free for personal use on linux (x86 or itanic only).

    The g95 project is developing a free f95 compiler but it is not ready yet: http://g95.sourceforge.net/

  13. Ain't ya forgettin' summink? by leonbrooks · · Score: 2, Informative

    Did you Google?

    Let your fingers do the walking...

    --
    Got time? Spend some of it coding or testing
  14. Re:DOS days by Ninja+Programmer · · Score: 2, Informative

    More specifically, it "EXTENDED DOS" to the 32 bit flat address model. The problem was that the entire DOS API was 16 bit, and assumed that everything happened in the first 640K. So if you wanted to use the DOS services with your data that was not in the first 640K, you needed a translation layer -- this is what the DOS Extender (typically via an API called "DPMI" -- DOS Protected Mode Interface) provides.

    Some of the better DOS Extenders had a built-in virtual memory mechanism as well. Actually it turned out that DOS4GW was kind of weak in comparison to the other extenders like "CauseWay" which Open Watcom is supposed to be using now.

  15. Re:GCC performance and another thing... by be-fan · · Score: 4, Informative

    You mean this link? The one that shows GCC matching Intel C++ 7.0 on everything except the P4 FPU benchmarks?

    --
    A deep unwavering belief is a sure sign you're missing something...
  16. Re:No, actually by Ninja+Programmer · · Score: 2, Informative

    Most people who have looked into this have not found your claim to be true. The Intel compiler *does* produce better code on average. I will agree with you about the code vectorization of the Intel compiler except for the very latest version of it which has actually shown itself to vectorize pretty much any time there is a reasonable opportunity for it.

  17. DJGPP & Quake by wideBlueSkies · · Score: 2, Informative

    >>The version of gcc for dos: DJGPP had a DOS extender and 32-bit support but it was slower than Watcom by a large amount

    Though that didn't stop ID software from using DJGPP to build Quake 1 way back in 96.

    --
    Huh?