Jump to content

Porting from Unix platforms: Difference between revisions

From EDM2
Ydario (talk | contribs)
Ydario (talk | contribs)
Line 36: Line 36:
*Autoconf
*Autoconf


For using Innotek gcc (recommended):
For using Innotek gcc (recommended), get also:
*[http://download.innotek.de/gccos2/runtime/libc-0.5.1.exe Innotek gcc 3.2.2 runtime]
*[http://download.innotek.de/gccos2/runtime/libc-0.5.1.exe Innotek gcc 3.2.2 runtime]
*[http://download.innotek.de/gccos2/3.2.2-Beta4/gcc-3.2.2-beta4.exe GCC for OS/2 Beta 4]
*[http://download.innotek.de/gccos2/3.2.2-Beta4/gcc-3.2.2-beta4.exe GCC for OS/2 Beta 4]
*[http://download.innotek.de/gccos2/3.2.2-Beta4/gcc-3.2.2-beta4csd1.zip GCC for OS/2 Beta 4 CSD1]
*[http://download.innotek.de/gccos2/3.2.2-Beta4/gcc-3.2.2-beta4csd1.zip GCC for OS/2 Beta 4 CSD1]
Get the above packages and install following the included instructions. I will add a scheme here sometimes.

Revision as of 12:56, 20 November 2004

Introduction

This article will cover the basic steps for porting programs written for the Unix platform.

Only command line program will be covered, since porting the X window interface is a second step. If you are working on a GUI program, consider using the EverBlue Project or the WxWidgets (formerly WxWindows) project. Remind that the steps described here, probably still apply to your project.

System requirements

The most common enviroment used for porting Unix programs, is the EMX/GCC compiler&tools. It is based on gcc 2.8.1 and provides most of the required tools.

A new enviroment actually coming up, is the Innotek gcc compiler, based on gcc 3.2.2 for libc 0.5 level, on gcc 3.3.5 for the libc 0.6 release (currently in alpha test, soon in beta test). This is an enviroment currently in developement, but I consider it the preferrable way for starting.

To create an EMX basic enviroment you need to download the following files:

For an advanced enviroment, you need also:

  • Automake
  • Autoconf

For using Innotek gcc (recommended), get also:

Get the above packages and install following the included instructions. I will add a scheme here sometimes.