PDA

View Full Version : C++ و لینوکس



shareh
جمعه 02 فروردین 1387, 23:20 عصر
باسلام
اگه برنامه ای با سی بیلدر نوشته باشیم چطوری میشه برنامه رو تحت لینوکس اجرا کرد؟

Inprise
جمعه 02 فروردین 1387, 23:41 عصر
شاید با wine .

tritilium
شنبه 03 فروردین 1387, 04:53 صبح
با wine فایل های اجرایی تحت وندوز رو میشه اجرا کرد ولی فکر می کنم منظور دوستمون کامپایل و دیباگ کدش بود که در اینصورت باید از G++ استفاده کنن .

shareh
شنبه 03 فروردین 1387, 09:52 صبح
یعنی خود c++ این قابلیت رو نداره ؟


(23 حمایت کامل از CLX کلاسهای پایه تولید نرم افزار مستقل از سیستم عامل - قابلیت کامپایل روی محیط کایلیکس- لینوکس )

(33 دارای قابلیت تولید برنامه های سرویس برای ویندوز و لینوکس .

atilla snowman
یک شنبه 11 فروردین 1387, 01:17 صبح
با سلام

وقتی یه برنامتو با کامپایلر رو یه سیستم عامل برای اون سیستم کامپایل کنی کدی فقط برای اون سیستم شناخته شده است

اگه میخوای رو سیستم دیگه ای اجرا کنی واسه اون کامپایلر گیر بیار و کامپایلش کن
دوستمون بالا یه کامپایلر خوب واسه لینوکس معرفی کرد که میتونی بعد اشکال زدایی و کامل کردن برنامت با اون واسه لینوکس کامپایلش کنی

administors
چهارشنبه 21 فروردین 1387, 01:21 صبح
<H1>Integrated Development Environments / RAD tools / GUI-builders on Linux:






General/Editors:
Amy (http://sunsite.dk/amy/) (HTML, C, C++, Java, SQL, LaTeX, Makefiles and many more languages)
blIDE (http://blide.sourceforge.net/) (incomplete; no downloads as of yet)
IBM's Eclipse (http://www.eclipse.org/) (an extensible IDE kit; Java, C/C++, plus other languages via plug-ins (http://eclipse-plugins.2y.net/) that are becoming increasingly available, such as Perl via the EPIC (http://e-p-i-c.sourceforge.net/) plug-in)
Code Crusader (http://www.newplanetsoftware.com/jcc/) (supports just about everything (http://www.newplanetsoftware.com/jcc/languages.php)) with the Code Medic (http://www.newplanetsoftware.com/medic/) debugger
Glimmer (http://glimmer.sourceforge.net/)
InfoDock (http://sourceforge.net/projects/infodock/)
SGI's Jessie (http://oss.sgi.com/projects/jessie/) (doesn't seem to exist any more)
Emediat Solutions's RadBuilder (http://www.emediat.com/radbuilder.html)
RHIDE (http://www.tu-chemnitz.de/~sho/rho/rhide/rhide.html)
CYGNUS's Source Navigator (http://sources.redhat.com/sourcenav/) with the Insight (http://sources.redhat.com/insight/) debugger
SciTE (http://www.scintilla.org/SciTE.html)
Titano (http://titano.sourceforge.net/)
WideStudio (http://www.widestudio.org/)
wxStudio (http://wxstudio.sourceforge.net/)
Ada:
GNAT Programming System (GPS) (http://libre.act-europe.fr/gps/)
TIA (http://www.vaxxine.com/pegasoft/tia.html) (for GNAT Ada 95)
BASIC:
TrueBASIC (http://www.truebasic.com/new_soon.html) (Linux version to be released soon)
C/C++:
Amy (http://sunsite.dk/amy/)
Anjuta (http://anjuta.sourceforge.net/)
ICS's BX Pro (http://linux.ics.com/) (for Motif/C++)
Code Forge's C-Forge (http://www.codeforge.com/)
Code Blue (http://codeblue.sourceforge.net/)
Metrowerks's Code Warrior (http://www.metrowerks.com/desktop/linux/)
Bloodshed Software's Dev-C++ (http://www.bloodshed.net/devcpp.html) (for C/C++)
DiaSCE (http://diasce.es.gnome.org/)
IBM's Eclipse (http://www.eclipse.org/) (an extensible IDE kit; Java, C/C++ in late beta, other plug-ins (http://eclipse-plugins.2y.net/) pending)
gIDE (http://gide.pn.org/)
Glade (http://glade.pn.org/)
GNAT Programming System (GPS) (http://libre.act-europe.fr/gps/)
CYGNUS's GNUPro (http://www.redhat.com/products/support/gnupro/)
FLTK & Fluid (http://www.fltk.org/) (for C++)
IDEntify (http://www.pietrobo.com/projects/IDEntify/)
KDbg (http://members.nextra.at/johsixt/kdbg.html)
KDevelop (http://www.kdevelop.org/)
KDE Studio (http://www.thekompany.com/projects/kdestudio/index.php3?dhtml_ok=1)
Suite 3220 Software's Moonshine (http://www.suite3220.com/moonshine/) and Moonshine Professional (http://www.suite3220.com/products/Moonshine_Professional_C_C++_Edition.html)
OpenAmulet (http://www.openip.org/)
RHIDE (http://www.tu-chemnitz.de/~sho/rho/rhide/rhide.html)
QtEZ (http://projects.uid0.sk/qtez/) (for C++ w/Qt)
Scintilla (http://www.scintilla.org/) (for GTK+/C++)
Wind River Systems / TakeFive Software's SNiFF+ and SNiFF Penguin (http://www.takefive.com/)
CYGNUS's Source Navigator (http://sources.redhat.com/sourcenav/)
with the Insight (http://sources.redhat.com/insight/) debugger
TogetherSoft's Together (http://www.togethersoft.com/together/)
VisKProg (http://www.viskprog.org/)
MicroEdge's Visual SlickEdit (http://www.slickedit.com/)
Q Software Solutions's Wedit (http://www.q-software-solutions.com/weditlinux/)
VDKBuilder (http://vdkbuilder.sourceforge.net/)
VIDE (http://www.objectcentral.com/vide.htm) (for C++ and Java)
WideStudio (http://www.widestudio.org/)
wxBuilder (http://lightning.prohosting.com/~wxbuild/)
wxDesigner (http://www.roebling.de/)
wxStudio (http://wxstudio.sourceforge.net/) (for C++ and Python)
Xwpe-alpha (http://www.identicalsoftware.com/xwpe/)
Objective-C:
GNUStep's ProjectCenter (http://www.gnustep.org/experience/ProjectCenter.html/)
ECMAScript (formerly "Javascript"):
TrollTech AS's Qt Scripter (http://www.trolltech.com/products/qsa/) (for the Qt Script extension of ECMAScript)
Nombas, Inc.'s ScriptEase (http://www.nombas.com/us/toolkit/) (for ECMAScript)
Eiffel:
Interactive Software Engineering's EiffelBench (http://eiffel.com/products/bench/page.html)
HTML:
Java:
Amy (http://sunsite.dk/amy/)
AnyJ (http://www.netcomputing.de/) (for Java)
VioSoft Arriba (http://www.viosoft.com/products/)
BlueJ (http://www.bluej.org/)
Chicory (http://www.cerc.wvu.edu/chicory/)
Omnicore Software's CodeG (http://www.omnicore.com/codeguide.html)
IBM's Eclipse (http://www.eclipse.org/) (an extensible IDE kit; Java, C/C++ in late beta, other plug-ins (http://eclipse-plugins.2y.net/) pending)
Elixir (http://www.elixirtech.com/) (for Java, HTML, Scheme, TCL)
FreeBuilder (http://leb.net/pub/freebuilder/)
Ginipad (http://www.mokabyte.it/ginipad/english.htm)
IntelliJ's IDEA (http://www.intellij.com/idea/)
Jasmine (http://members.nbci.com/apostle1.1/software.html)
Borland's JBuilder (http://www.borland.com/jbuilder/linux/) aka JavaBuilder
JCreator (http://www.jcreator.com/) LE or Pro
BulletProof's JDesignerPro (http://www.bulletproof.com/)
Jedi (http://www.markus-hillenbrand.de/jedi)
Jedit (http://www.jedit.org/) (for Java, when used with plug-ins)
Jipe (http://jipe.sourceforge.net/)
JJTop (http://jjtop.sourceforge.net/)
JOODA (http://jooda.sourceforge.net/)
Allaire's Kawa (http://www.tek-tools.com/kawa/)
ProSyst's mBedded Builder (http://www.prosyst.com/solutions_html/mbeddedbuilder.html) (for embedded Java)
NetBeans Developer (http://www.netbeans.org/)
Data Representations's Simplicity (http://www.datarepresentations.com/productsSFJ.htm) and Simplicity Professional (http://www.datarepresentations.com/productsSPRO.htm)
Wind River Systems / TakeFive Software's SNiFF+ and SNiFF Penguin (http://www.takefive.com/)
CYGNUS's Source Navigator (http://sources.redhat.com/sourcenav/) with the Insight (http://sources.redhat.com/insight/) debugger
Sun One Studio 4 (http://wwws.sun.com/software/sundev/jde/) (formerly Forte)
SwingSoft's SwingBuilder (http://www.swingsoft.com/builder.html)
TogetherSoft's Together (http://www.togethersoft.com/together/)
VIDE (http://www.objectcentral.com/vide.htm) (for C++ and Java)
IST's Visaj (http://www.ist.co.uk/visaj/)
Compuware's OptimalJ (http://www.compuware.com/products/optimalj/)
IBM's VisualAge Java (http://www-4.ibm.com/software/ad/vajava/)
Visual Paradigm (http://www.visual-paradigm.com/vpide.php)
IBM's WebSphere Application Developer (http://www-3.ibm.com/software/ad/studioappdev/) (for Java J2EE)
Pascal:
Alice Pascal (http://www.templetons.com/brad/alice.html)
Borland's "Kylix Open Edition (http://www.borland.com/kylix/open/)" (for GPL-licensed projects only, using Object Pascal aka Delphi or C++ source code, with Java to be added later)
Lazarus (http://www.lazarus.freepascal.org/) (for Object Pascal/Delphi)
fpGUI (http://www.freepascal.org/fpgui/) (for Object Pascal/Delphi)
RHIDE (http://www.tu-chemnitz.de/~sho/rho/rhide/rhide.html)
Perl:
ActiveState's Komodo (http://www.activestate.com/Products/Komodo/)
PerlComposer (http://perlcomposer.sourceforge.net/)
WideStudio (http://www.widestudio.org/)
wxPerl (http://wxperl.sourceforge.net/)
PHP:
ActiveState's Komodo (http://www.activestate.com/Products/Komodo/)
Nexidion Designer (http://www.web-netz.de/scripte/php/designer-0.9.tar.gz)
Xored Web Studio (works as an Eclipse plug-in) (http://www.xored.com/products.php)
Zend IDE (http://www.zend.com/store/products/zend-ide.php)
Maguma Workbench (http://community.maguma.com/) (proprietary)
Bluefish (http://bluefish.openoffice.nl/) (primarily an HTML editor)
Quanta+ (http://quanta.sourceforge.net/) (primarily an HTML editor
Screem (http://www.screem.org/) (PHP, XML; primarily an HTML editor / site-development environment)
Python:
ActiveState's ActivePython (http://aspn.activestate.com/ASPN/Downloads/ActivePython/)
BlackAdder (http://www.thekompany.com/products/blackadder/) (for Python and Ruby)
Boa-Constructor (http://boa-constructor.sourceforge.net/)
Cooledit (http://cooledit.sourceforge.net/)
Guido van Rossum's IDLE (http://www.python.org/idle/)
Jext (http://www.jext.org/)
ActiveState's Komodo (http://www.activestate.com/Products/Komodo/)
PythonWare's PythonWorks Pro (http://www.pythonware.com/products/works/)
SPE (Stani's Python Editor) (http://www.stani.be/python/spe/blog/)
ViPEr (http://www.scripps.edu/~sanner/html/papers/IPC02.pdf)
ViPYL (http://vipyl.sourceforge.net/ide.htm)
WideStudio (http://www.widestudio.org/)
Archeopteryx Software's Wing IDE (http://archaeopteryx.com/wingide/)
wxPython (http://www.wxpython.org/)
wxStudio (http://wxstudio.sourceforge.net/) (for C++ and Python)
Digital Creations's Zope Studio (http://www.zope.org/Products/ZopeStudio)
QT:
QtEZ (http://projects.uid0.sk/qtez/) (for C++ w/Qt)
TrollTech AS's Qt Scripter (http://www.trolltech.com/products/qsa/) (for the Qt Script extension of ECMAScript)
Ruby:
BlackAdder (http://www.thekompany.com/products/blackadder/) (for Python and Ruby)
WideStudio (http://www.widestudio.org/)
Scheme/Lisp:
Elixir (http://www.elixirtech.com/) (for Java, HTML, Scheme, TCL)
Jabberwocky (http://jabberwocky.sourceforge.net/) (for Lisp)
Smalltalk:
Squeak (http://www.squeak.org/) (Smalltalk-80)
VisualAge Smalltalk (http://www-4.ibm.com/software/ad/smalltalk/)
Cincom's VisualWorks Smalltalk (http://www.cincom.com/visualworks/forlinux.html)
SQL:
Amy (http://sunsite.dk/amy/)
TCL/Tk:
Elixir (http://www.elixirtech.com/) (for Java, HTML, Scheme, TCL)
ActiveState's Komodo (http://www.activestate.com/Products/Komodo/)
Quick-Tk (http://www.jump.net/~brooke/qtk/)
Tcl Developer Studio (http://kakunin.chat.ru/tcldev/) (for Tcl/Tix)
Visual Tcl (http://vtcl.sourceforge.net/)
wx (cross-platform/cross-language GUI library):
Boa-Constructor (http://boa-constructor.sourceforge.net/)
wxBuilder (http://lightning.prohosting.com/~wxbuild/)
wxDesigner (http://www.roebling.de/)
wxPerl (http://wxperl.sourceforge.net/)
wxPython (http://www.wxpython.org/)
Other:
EXOR International Inc.'s eVGS Development Suite (http://www.embedding.net/eSVG/english/overview/overview_frame.html) (not ported yet)
MetaCard Corp.'s MetaCard (http://www.metacard.com/) (for MetaTalk)
National Instruments's LabView (http://www.ni.com/linux/lin_lv.htm)
Omnis Studio (http://www.omnis-software.com/) (for the Omnis 4GL)
Runtime Revolution Ltd.'s Revolution (http://www.runrev.com/) (for Transcript)Warning: Some of the above are binary-only and x86-Linux-only.

</H1>

pawantanwar
دوشنبه 17 مهر 1402, 08:53 صبح
1. Install and Use C++ Compilers on Linux


Many Linux distributions include GCC as a preinstalled compiler. You can use GCC to compile and run C++ programs written with C Builder.


GCC allows you to compile C Builder programs easily; use its "g++" command. For instance, to compile hello.exe you could enter this syntax:


G++ Hello.exe will generate an executable file named a.out that you can run using the command:


2. Use a C++ IDE on Linux
Linux users have their choice of several C++ integrated development environments (IDEs), including Eclipse, KDevelop and CLion for running C Builder programs compiled with this language. These IDEs make compiling and running your code faster while giving more options than doing so manually.


To compile a C Builder program with a C++ IDE, the project needs to be imported into it first and then run using its tools for compilation and execution.


3. Make Use of Cross-Compilers
A cross-compiler is a type of compiler which generates executable files for platforms other than its host platform - for instance, using it can enable Windows machines to produce executable files suitable for Linux platforms and vice versa.


To use a cross-compiler to compile C Builder programs, first install it on your machine. Once it's set up, you can compile using similar commands as when compiling with GCC.


Note: C Builder programs may utilize libraries or resources not readily available on Linux; in such instances, porting your program will likely be necessary before running it successfully.


Which option should be your choice?


Your best option depends entirely on your own specific requirements and preferences. If you already know GCC or another C++ compiler on Linux, that might be best as it allows for faster compilation and execution of C Builder programs.


For an integrated solution (http://www.multispanindia.com), consider using a C++ IDE on Linux.


If you want to compile your program for Linux, using a cross-compiler may be required.