![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
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 |
![]() |
![]()
|
![]() |
|||
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 :-)
|
|||
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.