Home Sitemap English

    Installation Guide

    Last update: 01/14/2006

  • Overview

    Magic C++ is a windows based cross-platform MS Visual C++ like IDE for Unix/Linux/BSD/Cygwin/MinGW. It suppoorts for remote Unix/Linx/BSD development and local windows Cygwin/MinGW development.

    For Unix/Linux/BSD remote development:
    Based on client/server architecture, for remote development there are 3 kinds of working mode can be selected by users:
  • standard SSH/SFTP mode
  • standard TELNET/FTP mode
  • expert Remote Development Agent( RDA ) mode

                               Difference among SSH/SFTP, TELNET/FTP and RDA Mode

      RDA Mode SSH Mode TELNET Mode  
    Server OS requirement FTP SSH/SFTP TELNET/FTP  
    Easy to install RDA mode needs server side daemon program manually installed by EXPERT users
    Secure and safe  
    Better server OS compatibility For maximum compatibility please select RDA mode.
    Some server OS needs update to latest OpenSSH to work with Magic C++ include Redhat 7.1, FreeBSD5.3/5.4 and Suse9.3.
    Performance  
    Please contact marketing@magicunix.com for more information.

    You need install the server component of Magic C++( server side daemon ) on Unix/Linux/BSD servers under expert Remote Development Agent( RDA ) mode, but this phase is not necessary for standard SSH/SFTP mode and standard TELNET/FTP mode , it's much easier to install and use.

    Magic C++'s expert Remote Development Agent( RDA ) mode full installation consists of two phases. One for the server component - RDA( Remote Development Agent ), and one for the client component C/C++ IDE( Integrated Development Environment ). Without RDA installed IDE can ONLY work under edit mode and without support for remote compiling and debugging.

    For Cygwin/MinGw local development:
    You needn't install the server component of Magic C++ under Cygwin/MinGW. Though you need install the server component of Magic C++ on Unix/Linux/BSD servers under expert Remote Development Agent( RDA ) mode, but this phase is not necessary for local windows Cygwin/MinGW development.

  • Supported Platform

Server OS:
Magic C++ supports for many popular Unix/Linux/BSD platforms include IBM AIX, Sun Solaris, HP HP-UX, HP Tur64 Unix, Linux, FreeBSD and NetBSD. If you would like some further information on this product please contact us. We can also extend Magic C++ to support any other platforms to satisfy your requirement.

Server Platform Version Test Result
for Manufacturer's Development Tool
Test Result for GNU GCC
IBM AIX 4.0, 5.1L, 5.2L, and 5.3L
Sun Solaris 7, 8, 9 and 10
HP HP-UX 10, 11, 11i
HP Tru64 Unix V4.0F, V5.1, V5.1A, and V5.1B

          

SCO Unix 5.05

Editing

Compiling

Debugging

Linux Red Hat 7.2, 7.3, 8.0, and 9.0
Red Hat Enterprise 3 and 4, Red Hat Fedora Core 1, 2, 3 and 4
SuSE Enterprise Server 8.1, 8.1 update 3, 8.2, 9, and 9 update 1
SuSE Linux Personal or Professional 8.1, 8.2, 9.0, and 9.1
FreeBSD 4.9, 5.2, 5.3
NetBSD 1.6
Local Platform Version Test Result
for Manufacturer's Development Tool
Test Result for GNU GCC
CygWin     *
MinGW     *
*Magic C++ 3.0 or higher
  • The supported platforms have not been listed completely here, we only list those popular platforms.
  • Extend to support any other platforms please contact support@magicunix.com

Client OS:

Win2000/XP/2003

( *** Notice : We no longer support Windows98 *** )

  • Unzipping software package

Unzip software package with compression/de-compression tool( winzip, winrar etc. ), and the directory after unzipping looks like this:

Server\ --source codes package for RDA

Client\ --Windows setup package for IDE

Doc\ --Documents

  • For Unix/Linux/BSD remote development

  • Prerequisites

    Before installing Magic C++, please check to make sure that:

    1. Client can communicate with server via TCP/IP

for standard SSH/SFTP mode please check SSH and SFTP services on the server,

for standard TELNET/FTP mode please check TELNET and FTP services on the server,

for expert RDA mode please check please check FTP service on the server.

2. Server has development packages( gcc/g++/gdb, cc/CC/dbx etc. ) installed and works normally

  • For standard SSH/SFTP and TELNET/FTP mode

  • Installing client component - IDE

Enter client directory and use your mouse to double click Setup.exe then follow the setup instructions step by step. Enter any characters when prompted for serial number to evaluate the software for 45 days.

  • Hints for server side

    Some server OS need update to latest OpenSSH to work with Magic C++ include Redhat 7.1 and FreeBSD5.3. If your server has compatible problems with Magic C++, please switch to expert RDA mode and try again. You can also contact support@magicunix.com for more technical support.

  • For expert RDA mode

  • Installing client component - IDE

Enter client directory and use your mouse to double click Setup.exe then follow the setup instructions step by step. Enter any characters when prompted for serial number to evaluate the software for 45 days.

  • Installing server component - RDA

    1. Transfer the source codes package to the server via FTP or other measures

    2. Extract files from the package, execute command as:

    tar -zxvf magicd-x.tar.gz

    ( *** Notice: x is the release version of the package*** )

    If an old version of this software package exists please remove it first.

    3. Compile the source codes and install

    ./configure

    or

    ./configure --prefix=your_magicd_install_path

    make

    make install

    If you meet problems with these steps please send us the error output info, we'll solve it for you as soon as possible, thank you.

  • Start Remote Development Agent( daemon process )

    with the default options

    cd /your_magicd_install_path/bin

    ./magicd

    You will see output info like this:

    Starting Magic C++ Server daemon program...
    Install Root Directory is :/home/ken/magicd-2.5.0/../magicd-2.5.0
    Starting up http server on the port [2104]
    Magic C++ Server Daemon Startup successfully on port [2004]...
    Copyright(c) 2004 MagicUnix Information Technology Limited. All right reserved

    with the customized options

    Usage : magicd [-p PORT] [-t HTTP_PORT] [-f FILE] [-L FILE] [-a USERNAME,PASSWORD]

    [--help][--version] [--col ] [--row ] [--debug]

    -p PORT

RDA listening socket port£¬default is 2004.

-t HTTP_PORT

HTTP server listening socket port £¬default is 2104.

-f FILE

specify an option file£¬the option file format will be list below.

( *** Notice £º Other command line options will be ignored if you use this option*** )

-L FILE

specify the login program.

-a USERNAME,PASSWORD

enable the authentication ability embeded in RDA with specified username and password. This option is NECESSARY if you startup RDA with non-root user.

-h = --help

print help info

-v = --version

print version info

-d = --debug

work under debugging mode, the RDA will print debugging info in details to the log file, that will help us to solve problems for you.

-c = --col

specify the number of columns of terminal, default is 300

-r = --row

specify the number of rows of terminal, default is 100

Here is the standard format of the option file

###################################

[COMMON]

port=2004

login=/bin/login

debug=0

http_port = 2104

[WINSZ]

row = 100

col = 300

[SELF_AUTH]

self auth = 0

#need check password

username=magicd

password=magicd

###################################

Comment for each option:

port - listening socket port

row - number of rows

col - number of columns

self auth - enable/disable the authentication ability embeded in RDA

username - username

password - password

http_port - HTTP server listening socket port

( *** Notice £º Other command line options will be ignored if you use this option*** )

Non-root user notice

If you're not logged in as superuser, authentication by the server is disabled. Magic C++ provides password authentication to solve the problem. You have to properly configure username and password before activating the authentication ability.

You can startup magicd with -a option to specify the username and password.

-or-

In [SELF_AUTH] section of /your_magicd_install_path/etc/magic.ini:

modify "username = magicd" to your own login name

modify "password = magicd" to your own password

modify "self auth = 0" to "self auth = 1"

***NOTICE***
Startup magicd with -a option will active the authentication ability provides by Magic C++, at this situation you must specify the telnet port of redirection terminal corresponding to the server component(RDA)(default is 2004) in Magic C++ IDE.
1. Open the Remote Server Manager (under file menu) File->Remote Server Manager.
2. Open the Server Property dialog for your server.
3. Under the "Advance" tab, set your Telnet port to 2004(magicd working port) instead of 23(the standard telnet port).

  • Stop Remote Development Agent( daemon process )

To stop Remote Development Agent, execute command:

cd /your_magicd_install_path/bin

./killit.sh

  • For Cygwin/MinGW local development

  • System requirements:

    Development Environment :

    Cygwin/MinGW with GNU GCC development packages installed

    Windows OS:

    Win2000/XP/2003

    ( *** Notice : We no longer support Windows98 *** )

  • Prerequisites

    Before installing Magic C++, please check to make sure that:

    1. Cygwin or MinGW can work normally

    2. Cygwin or MinGW has development packages( gcc, gdb etc. ) installed and works normally

  • Installing IDE

Enter client directory and use your mouse to double click Setup.exe then follow the setup instructions step by step. Enter any characters when prompted for serial number to evaluate the software for 45 days.

During the installation process you can choose to optionally install MinGW provided by Magic C++ package. If Cygwin or MinGW has been installed in your windows system the install wizard can seek their installation directory to configure Magic C++ environment for future use automatically, you can also skip this operation and configure Magic C++ environment manually in the IDE by 'File/Local Host Setting...' after installation.

  • Support

If you meet problem while installing Magic C++, please refer

FAQ( Frequence Asked Question )

Any question not list in FAQ please send us email

Technical Support Email

-or-

post your question to

Magic C++ Forum

we'll reply you as soon as possible.

We also provide

Magic C++ Tutorial Course beginning-level/intermediate-level/advance-level
Magic C++ customization service
Magic C++ OEM service
Unix/Linux/Embedded software outsourcing and consultation service
IDE( Integrated Development Environment ) software customization/outsourcing/consultation service

If there is anything else we can do to further assist you or any questions about the product, please don't hesitate to contact us.

Contact us

MagicUnix Information Technology Limited
For orders: marketing@magicunix.com
Customer service: support@magicunix.com

United States
5385 Wyntree Court
Norcross, GA 30071
Toll Free: 1-877-357-4092

Canada
33 ISABELLA STREET EAST, SUITE 2812,
TORONTO,ONTARIO,M4Y 2P7
Toll Free: 1-877-357-4092
Ph: 416-921-5115
Fax: 416-921-5115

China
No.2, Zhongguancun South Avenue, Haidian District,
Beijing, China 100081
Ph: +86-10-82781195

No.8, Keyun Road, TianHe Software Park,
Guangzhou, China 510665
Ph: +86-20-31715180

Back to Top

HomeProductPurchaseDownloadSupportPartnerContact

Copyright © 2004 Magicunix Information Technology Limited. All rights reserved.