I am wondering if someone could tell me what tools I will need to compile and build and executable of Dev-C++ for Fedora Core 3 to install it and run it. I have never worked with Delphi source code and I would appreciate any help with the process and what tools.

I need this for developing small C++ applications. I tried out Anjuta, Eclipse and took a glance at both Qt Designer and Kdevelop and wasn't that impressed. If there are other IDE's out there please respond!!!

PS I have used Dev-C++ and am familiar with it so I would appreciate any help thanks

Dani AI

Generated

Short summary and practical next steps for this thread (references: , ).

If the Dev‑C++ sources really are Delphi/Pascal (as suggested), building the IDE natively on Fedora Core 3 will require a Delphi‑compatible toolchain or a full port — a nontrivial effort. The first step is to identify the language used in the source tree: Delphi/Pascal files normally use extensions like .pas or .dpr; C++ sources use .cpp, .cc, .cxx, .h. If Delphi files are present, expect to need a Delphi/Kylix style compiler or to rewrite/port parts to C++/GTK/Qt for a native build.

Practical alternatives that avoid a large porting job:

  • Run the Windows Dev‑C++ binary under Wine on Fedora (fast way to keep the familiar UI).
  • Use the system GCC toolchain plus a lightweight IDE (editor + make, or a GUI IDE that wraps g++).
    Commands to get a working toolchain or run the Windows installer from a shell:
    
    # install GCC/C++ and tools via yum
    yum install gcc gcc-c++ make gdb

install Wine and run the Dev-C++ installer under Wine

yum install wine
wine devcpp_setup.exe


About the Chinook problems @jhammer reported: different IDEs often hide compiler and project settings. Common causes of string/behavior differences are compiler dialect, STL/runtime differences, Unicode vs ASCII literals, missing headers or different optimization/ABI defaults. To isolate the cause, compile the same source from the command line with strict warnings and a known dialect, then compare runtime behavior:

g++ -Wall -Wextra -std=c++98 -g -o test test.cpp
gdb ./test


If the command‑line build behaves like the other IDEs, the issue is Chinook project settings or its bundled compiler; if not, the source needs fixes for portability.

Recommendation: for small C++ apps on FC3 the fastest route is the native g++ toolchain with a simple editor or a lightweight IDE; running Dev‑C++ under Wine is the least-effort way to keep the familiar environment. Porting Dev‑C++ itself should be considered only if willing to invest significant time.

Recommended Answers

All 2 Replies

You can't build Dev-cpp for Linux. It's written all in Delphi, and looks too difficult to port it. But you can download the free version of Chinook Developer studio from: http://www.degarrah.com/chinookfree.php
Also, recently has been released a new version of MingW Developer Studio, available for Windows, Linux and FreeBSD: http://www.parinyasoft.com/

Chinook seems to work okay until I started messing with some simple strings and functions any suggestions? I know the code is correct cause it ran in other IDE's. Maybe different syntax?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.