Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic Rhapsody (steve huntington)
Decrease font size
Increase font size
Topic Title: RiC++ 4.1 cygwin gnu windows adapter
Topic Summary:
Created On: 19-Sep-2005 19:39
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 19-Sep-2005 19:39
User is offline View Users Profile Print this message


Mark Richardson

Posts: 227
Joined: 30-Jun-2004

This document descriebes how to use the "Rhapsody V4.1/ Cygwin GNU Integration" as a
starting point for a WIN32 replacement of BCC55 or Visuall C++.
------------------------------------------------------------------------------------

1) Download the Rhapsody GNU files from Ilogix ('GNU files').

2) Install the Cygwin tools. Remember the compiler and debugger. Details are on the
Cygwin homepage and in the downloaded files.

3) Patch the 'GNU files'.

A) Overwrite langcpp\Oxf\gnuntos.cpp with ntos.cpp
B) Remove (Comment) the line with the function call to endprotoent()
C) Overwrite langcpp\Oxf\gnuntos.h with ntos.h
D) Overwrite langcpp\osconfig\gnunt\omosconfig.h with win32\omosconfig.h
E) Insert the define -D__USE_W32_SOCKETS in gnuntoxf.mak as a ADDED_CPP_FLAG
F) Insert the define -D__USE_CREATE_THREAD__ in gnuntoxf.mak as a ADDED_CPP_FLAG

4) Use the siteC++.prp file as it is or copy the 'Metaclass GnuNt' to Your own.

5) For application purpuse a socket library and a socket define must be used.

A) Use the define -D__USE_W32_SOCKETS in the configuration section of the project
or insert it in the 'Property CPPCompileSwitches' line of the siteC++.prp file

B) Use d:\cygwin\lib\w32api\libwsock32.a or libws2_32.a in the configuration
section of the project (link switches) or in the 'SOCK_LIB' lines of the
siteC++.prp file.

Because of the GNU link order this must be linked after app. and rhapsody libraries

C) Use windows.h as a 'standard header' in the configuration section or when needed.


6) Build the framework libraries with Rebuild_Gnu_NT__Libraries.bat and use it :-)

GnuCpd.zip
GnuCpd.zip  (42 KB)

Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic Rhapsody forum.
There are currently 1 users logged in.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.