Before I go further, I want to be sure that I have set the environment properly 
for compiling with Borland c++:
----
I created an environment for compiling via Borland 5.5, and verified that I can 
compile simple c source programs with this configuration.
 
 
Specified by UWIN:
 
PACKAGE_cc=/c/borland/bcc55/bin/ 
 
Identify the compilers and the preprocessor:
 
cc=/c/borland/bcc55/bin/bcc32.exe
cxx=/c/borland/bcc55/bin/bcc32.exe -c -P
cpp=/c/borland/bcc55/bin/cpp32.exe
 
 
 
Borland-specific instructions:
 
2. From the bin directory of your installation:
   a. Add "c:\Borland\Bcc55"
      to the existing path
   b. Create a bcc32.cfg file which will set
      the compiler options for the Include
      and Lib paths (-I and -L switches to
      compiler) by adding these lines:
      -I"c:\Borland\Bcc55\include"
      -L"c:\Borland\Bcc55\lib"
   c. Create an ilink32.cfg file which will set
      the linker option for the Lib path by
      adding this line:
      -L"c:\Borland\Bcc55\lib"     
 
Define PATH and INCLUDE;
INCLUDE=/c/borland/bcc55/include
PATH=/c/borland/bcc55/bin:/home/tfilm:/home/tfilm/bin:/usr/bin:/msdev/vc/bin:/msdev/
Common7/IDE:/sys:/win:.
 
I also created the borland .cfg files:
 
bcc32.cfg  and ilink32.cfg
 
With this configuration, I can compile c programs.
 
Is it necessary to define and export CC, CXX and CPP?


--- On Fri, 3/20/09, David Korn <[email protected]> wrote:

From: David Korn <[email protected]>
Subject: Re: [uwin-users] C++ in UWIN??
To: [email protected]
Date: Friday, March 20, 2009, 3:44 PM

Subject: Re: [uwin-users] C++ in UWIN??
--------

> I seem to remember that earlier versions of uwin binary included the c++
compile
> r, yet I don't think it is in the current version. If not, must it be
compiled f
> rom outside sources? If it is, am I missing something?
>  
> 

The compler wrapper is CC.  It invoked the underlying C++ compiler.

David Korn
[email protected]
_______________________________________________
uwin-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/uwin-users
_______________________________________________
uwin-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/uwin-users

Reply via email to