Slashdot Mirror


Borland C++ For Linux

Ardax writes: "Looks like Borland is going to be releasing C++ for Linux, according to this InfoWorld article. We'll be seeing more details at LinuxWorld in NY next week. The article doesn't mention whether this will be C++ Builder for Linux, or 'just' a command line compiler. No matter what, this is a sweet thing. I wonder how it will compare to gcc? (I wonder if it will be able to compile the kernel? :-) ) If it's the whole C++ Builder shebang, I wonder if there will be an Open Edition? Borland's Community site has a blurb about this. There's no comments at the Borland community yet, but some interesting commentary might pop up there."

22 of 457 comments (clear)

  1. great! by Jucius+Maximus · · Score: 2, Informative

    Then all we need is Textpad for Linux and then all well be well in the land of CS coding...

  2. Borland C++ or Borland C++ Builder by fwankypoo · · Score: 3, Informative

    The blurb (linked to here mentions that Borland is going to announce C++Builder for Linux. Just a tasty little tidbit that needs to be adressed:P

    --
    The time of day is 29:33.
    1. Re:Borland C++ or Borland C++ Builder by Wizy · · Score: 2, Informative

      correct, this is going to be C++ Builder, the full IDE. Same as they made Delphi for linux (Kylix).

    2. Re:Borland C++ or Borland C++ Builder by blitzrage · · Score: 3, Informative

      "We are taking our C++ development solution to the Linux platform. We have seen a lot of Linux developers who used to be Unix developers," said Alison Deane, a senior director of product marketing at Borland, in Scotts Valley, Calif.

      She added that Borland plans to announce C++Builder for Windows next month, but declined to provide details.


      No they didn't. They just said they were going to announce C++ for Linux, and C++ Builder for Windows.

      --

      I have no signature
  3. Re:Compile the kernel? by Anonymous Coward · · Score: 3, Informative

    The intel compiler uses the source file's extension to decide whether to compile with the C or C++ syntax

    C++

    D:\IntelC\Compiler50\ia32\bin>icl ft.cpp
    Intel(R) C++ Compiler for 32-bit applications, Version 5.0.1 Build 010525Z
    Copyright (C) 1985-2001 Intel Corporation. All rights reserved.
    ft.cpp
    ft.cpp(5): error: expected an identifier
    int new=3;
    ^

    ft.cpp(7): error: expected a type specifier
    return new;
    ^

    ft.cpp(7): warning #120: return value type does not match the function type
    return new;
    ^

    compilation aborted for ft.cpp (code 2)


    C

    D:\IntelC\Compiler50\ia32\bin>icl ft.c
    Intel(R) C++ Compiler for 32-bit applications, Version 5.0.1 Build 010525Z
    Copyright (C) 1985-2001 Intel Corporation. All rights reserved.
    ft.c
    Microsoft (R) Incremental Linker Version 6.00.8447
    Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

    -out:ft.exe
    ft.obj

  4. Re:The next version of Kylix will probably have C+ by mz001b · · Score: 3, Informative

    intel has already release C and Fortran 90 compilers for Linux that are free for non-comercial use. These are very fast compilers when used on a Pentium IV.

  5. Heve a look at XWPE by root_42 · · Score: 4, Informative

    And it even has been floating around for YEARS. Look at some screenshots of it here. I think it might be what you are looking for.

    --
    [--- PGP key and more on http://www.root42.de ---]
  6. Re:Market by ahde · · Score: 3, Informative

    The gcc we all use is much slower than the gnu-pro gcc you can buy from Cygnus/Redhat too.

  7. Re:Really stupid question... by sweetooth · · Score: 3, Informative

    kdevelop
    KDE Studio Gold
    or just search through
    apps.kde.com

  8. Re:Really stupid question... by Anonymous+DWord · · Score: 3, Informative

    How about Scintilla and SciTE?

    --
    "If he thinks he can hide and run from the United States and our allies, he's sorely mistaken." Bush on bin Laden
  9. Re:How many people actually use Borland C++? by banky · · Score: 3, Informative

    >How many people actually use Borland's C++ products currently?
    I can't quote actual statistics, but: we have a ton of C++ Builder boxes around the office, and we also make extensive use of JBuilder. The place where I used to work, were pretty much all Borland fanatics, and had their own NNTP server, made up of borland fans. A lot of them were "Team B", the Borland Users Group kinda thing.
    >Of those that do, is this just brand loyalty from the Windows 3.1 days?
    Kinda. From reading the documentation and talking to them, they tend to say the same things. 1, it was a better compiler for a LONG time when compared to Windows (arguable, of course). 2, it was more command-line friendly, if you didn't want to use the full-on IDE; this mattered because a lot of them were Unix expatriates having to get work in a PC world, and they wanted a PC compiler that acted like cc/gcc. This too is arguable; I'm just reporting, here. 3, many reported better standards compliance, and more functionality in doing things other than Windows (but on x86). For example, one person I knew did embedded x86 development and liked the Borland tools. The general consensus was Microsoft's tools were *Windows* compilers, whereas Borland's were more multifunction. Lastly, they all loved the IDE, considering it more mature and stable than VC++. The majority of them are excited about moving to Linux with BC++ and I expect a small but noticeable increase in Linux acceptance once this comes out. The glare of running cash registers may not light up the skies, but I can think of at least a dozen people off the top of my head who will be willing to spend moderately large money to get their hands on a Borland toolchain for Linux.

    --
    ZOMG I WOULD LOVE TO KNOW ABOUT YOUR FEELINGS ON MACINTOSH VERSUS WINDOWS, VI VERSUS EMACS, AND HOW YOU'RE NOT A DORK
  10. GCC 2.95 vs. Borland C++ 5.5 by Per+Abrahamsen · · Score: 3, Informative

    I get twice as fast an executable when compiling my application with GCC 2.95.2 under Cygwin, compared to Borland C++ 5.5 under C++Builder, both with full optimization.

  11. Re:Compile the kernel? by erikdalen · · Score: 2, Informative
    ISO C is not compatible with ISO C++.
    This page lists some of the incompatibilities.

    /Erik

    --
    Erik Dalén
  12. Re:Really stupid question... by gvr · · Score: 2, Informative

    You can also try the Codewarrior IDE.

    It supports a larger subset of c++ than gcc. *Ouch*

  13. I do, but not for much longer... by Per+Abrahamsen · · Score: 2, Informative
    We originally choose Borland C++ 5.0 for creating MS Windows binaries because Delphi was popular at our department.

    Since that is getting ancient (I want to use more modern C++ features), I have been looking into an upgrade. The compiler must be cheap and easy to install, as Ph.D. students (who have never heard of Unix) will want to compile the application, and I don't want to come in a situation where I have to provide technical support for the compiler.

    C++Builder is the obvious choice for a succecor, but the IDE is the worst I have ever encountered, is is slow bordering to unusable, and produce (for my application) ridiculous bad code.

    Cygwin was the second choice, since I already use GCC on unix. It is also the recommended way to get CVS, and I can reuse the Makefile. However, the Unix environment is too weird for some of the users, and getting -no-cygwin to work for C++ is non-trivial. So I need a more conventional solution as well.

    Visual C++ is what most people use. It has en excellent IDE, produce OK code, and mediocre C++ support. I have found work arounds for the limitations in the C++ support, so that is going to be the replacement for Borland C++.

  14. Re:Resume Item by Tet · · Score: 3, Informative
    If you have to go hunting around on freshmeat or google to find one in the fist place, or wade through dozens of pages of info/man pages to learn an obscure command line interface, printf()s or System.out.println()s start looking attractive.

    Agreed, if that was the case. Fortunately, it isn't. DDD ships with most Linux distributions, and gives you the nice GUI interface you're used to, plus some extra goodies on top (the ability to visually see the state of data structures like linked lists or binary trees is an amazing debugging tool). And since this is Unix, naturally there are other choices if you don't like DDD: Code Crusader, mxdb, mxgdb, xxgdb etc.

    --
    "The invisible and the non-existent look very much alike." -- Delos B. McKown
  15. More info on C++Builder for Linux by Anonymous Coward · · Score: 2, Informative

    I'm one of the compiler team members working on the Linux port right now, so I can offer a few more pieces of information.

    What will be released is the full GUI environment, not just the command-line compiler.

    bcc has not been tried on the kernel sources, and I'm doubtful it would work. We implemented enough gcc compatibility to use glibc, but some things, like inline assembly, just didn't make it on the schedule for this release. Expect code that uses lots of gcc trickery to fail.

    Compared to gcc it compiles code almost twice as fast. bcc is meant to complement our GUI tool, not compete with gcc standalone. Since the GUI tool focuses on "rapid application development", having fast turnaround times is a big plus.

    Probably the nicest item for command-line buffs will be our incremental linker. It should be usable in standalone projects, whether or not you use bcc (will have to do some checking to make sure..). Relinking after a single object change typically takes just a few milliseconds. First-time links are still faster than ld.

    There will also be no STABS or DWARF this release. Sorry gdb users. :( The IDE has a rich debugger in it, but we would like to see a command-line alternative at some point. Some things just weren't possible for 1.0.

  16. Visibility of Borland RAD tools by fm6 · · Score: 3, Informative
    How many people actually use Borland's C++ products currently? Of those that do, is this just brand loyalty from the Windows 3.1 days? I've been part of product teams (all using C/C++) developing on Windows, Mac, and various unices, and I've never seen Borland being used anywhere. The last Borland product I've seen used was Turbo Pascal for DOS back in high school.
    Here's an irony: I work at Borland, and I'm currently working on the documentation for this product. (Do not ask me for product details. Must go through Official Channels.) The ironic part is that before I took this job, I had the same misperception. I applied for a job in the Enterprise software unit, thinking the developer tools unit must be in Legacy Support mode.

    Not even close to true. A lot of developers are absolutely passionate about Delphi and C++ Builder. I think they'd riot in the streets if either product were discontinued. Not that there's any danger of this. Even in Borland's darkest days, these products were making money, and never stopped being under active development.

    There are lots of reasons for this lack of visibility. The most obvious one is the reluctance of managers to commit to non-Microsoft tools, despite rabid lobbying from their engineers. And there always seem to be rumors of Borland's imminent meltdown -- even as we turn a profit and scramble to house the new hires.

    One way to measure the penetration of Borland RAD products is to download and run the VCL Scanner, which uncovers installed Windows programs that use Borland libraries. First time I used it, I was shocked to discover how many of these there were. Some of them were basic system utilities that I had used for years.

  17. Re:How many people actually use Borland C++? by _egg · · Score: 2, Informative

    I used C++ Builder while I was working on game tools under win32 at LucasArts. Builder is amazing! I was a very competent programmer with NO win32 GUI experience. I needed artist-friendly game tools up *yesterday*... I flopped around with Microsoft's crappy GUI code-generating tools for a week and was tearing my hair out. Then I cracked open C++ Builder and had a working first cut of my tools in about a day!

    C++ Builder is almost entirely visual... You lay out your GUI, then fill in the C++ bits for events that are important to you. You could have working stuff up in seconds, then revamp the interface several times without changing a line of your C++ code. All of this while still providing you full access to the native API should you wish to do something their GUI code doesn't do normally. Large corporations eat this up... Programmer time is best spent on functionality, not GUIs. Builder enforces Model/View/Controller programming, which IMHO is the way all GUI programming (and web programming) should be done.

    Glade and friends on Linux are plainly inspired by Delphi and C++ Builder. I think Glade is great and getting better, but it doesn't compare to the polish and ease of Builder. I now provide command-line Linux tools to PS2 game developers, but would like to provide GUI versions of some. I'd like to do it in Qt so I can also support guys programming under windows, but I just don't have the time to go learn it. The GTK+ port to windows just isn't stable enough to trust, and requires cygwin underneath. But if C++ Builder existed for Linux, I'd be using it daily, as would my entire staff, and not looking back.

    This is one case where a commercial development package under Linux is completely worth it because it is *that* far ahead of the open source tools that are available. Let that inspire you to improve Glade and the GTK win32 port.

    Borland is making a good move because as their customers look to reduce their dependency on Microsoft, Borland makes the transition easier and tags along with them into the new space. Good luck Borland! You're doing everything right.

  18. Remember, the kernel started out in Borland C. by Kaz+Kylheku · · Score: 3, Informative

    Linus used a Borland compiler to bootstrap the development of Linux, because Minix was compiled with that. (Then when the system was good enough to host GCC, and serve as its own development platform, that compiler was abandoned).

  19. Borland C++ for OS/2 - a warning! by DrXym · · Score: 3, Informative
    I hope Borland learns from past mistakes.


    About 8 years ago I got into OS/2 in a big way and wanted to start developing for it. CSet from IBM was very expensive so I was ecstatic when Borland C++ came out for OS/2. Version 1.0 was pretty damned good - a powerful IDE, a decent set of helper classes (no GUI ones though) and a syntax highlighting editor in an age when IBM CSet++ shipped with no editor whatsoever. All was good or so I thought and I put aside concerns about the few bugs because it worked dammit and 1.01 would iron out the remaining problems.


    Version 1.01 came and had some fixes for the existing problems but overall had *more* bugs than 1.0. The classes didn't work as designed, the debugger more frequently hung your machine than worked and worst of all the IDE crashed - randomly. All was getting decidely iffy but I knew that 1.5 was out so I still held out hope.


    Version 1.5 and all hope flew out the window and emigrated to Australia. I had never seen a buggy piece of shit in life! The all new improved version may as well had alpha written all over it. It was unusable and I gave up after discovering threading was completely broken - a feature I had used up until then.


    Soon after I switched to IBM CSet++. Now that was a compiler. It might have had a totally stinky UI (none at all), but the command line tools were excellent and it came with some pretty good classes too.

  20. Re:Really stupid question... by damiam · · Score: 2, Informative

    Anjuta is a nice IDE for GNOME.

    --
    It's hard to be religious when certain people are never incinerated by bolts of lightning.