Home Sitemap English
                                    Guide for developing under Cygwin/MinGW with Magic C++ 3.0

                                                               Last update 06/02/2005

Magic C++ 3.0 has suppoorted for local windows Cygwin/MinGW development as well as remote Unix/Linx/BSD development.

Here is the guide for finishing this task.

(1) Installation

You need install the server component of Magic C++ on Unix/Linux/BSD servers for remote development,
but this phase is not necessary for local windows Cygwin/MinGW development.

Magic C++ 3.0 has packed MinGW in its installation package. You can check the option to install MinGW while installing Magic C++. If not the installation wizard will prompt you whether searching local development environment Cygwin/MinGW, answer YES if you would like finish this step automatically, answer NO if you would like configure it manually later in Magic C++ IDE( see below ).

(2) Configuration

You need configure the local environment settings before using Cygwin/MinGW in Magic C++.

Click File->Local Host Settings to open the Local Host Settings dialog

(1)
select correct local development environment type in Local Host
(2)
change the installation directory of Cygwin or MinGW in Installation directory if necessary, and click Test button to do a test.
(3)
change the toolchains's names include compiler, debugger, make etc. of Cygwin or MinGW by clicking customize button in Development tool if necessary.

If you've choosed to use your MinGW instead of which provided by Magic C++, please make sure you have add the path of MinGW to your environment variable PATH. To finish this task please

Open Control Panel->System->Advance->Environment->PATH
and append your MinGW's bin directory such as c:\MinGW\bin there

(3) Create a local project

Click File->New and select Project Tab page,
input project name in the Project Name editbox
click the button beside Save to directory editbox and select Local Machine... in the popup menu, select a direcotry then
click OK to finish creating a local project.

(4) Compiling and debugging

Click Compile->Build to compile the current local project

Click Compile->Debug->Go to debug the current local project

Back to top

 

HomeProductPurchaseDownloadSupportPartnerContact

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