Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

cc.exe/gcc.exe are not found in the COMMON folder

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> SFU / Interix - Getting Started >> cc.exe/gcc.exe are not found in the COMMON folder Page: [1]
Login
Message << Older Topic   Newer Topic >>
cc.exe/gcc.exe are not found in the COMMON folder - Sep. 19, '06, 3:25:48 AM   
johnveslin

 

Posts: 3
Joined: Sep. 19, '06,
Status: offline
We have downloaded MicroSoft Unix service 3.5 and have done a custom installation with all the options except NFS Gateway. There was no error during installation.

However we do not find cc.exe/gcc.exe in the common folder. What is the problem? How I can overcome this isse?
Post #: 1
RE: cc.exe/gcc.exe are not found in the COMMON folder - Sep. 19, '06, 3:49:31 AM   
Rodney

 

Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
There is no problem.
There is no such binary shipped named "cc.exe" or "gcc.exe".
Those would be Win32 applications or applications for Win32.

For Interix cc is a script to drive MSVC to build Interix binaries.
If you want to build Win32 binaries you can use MSVC directly, or if
you want to use the Interix (Unix) environment to drive a build using
make, etc. then you use wcc. Wcc is a script that
can be used from Interix to compile/link Win32 programs.
At no time is Interix (or any other part of SFU) for providing Unix API's
to Win32 applications.

(in reply to johnveslin)
Post #: 2
RE: cc.exe/gcc.exe are not found in the COMMON folder - Sep. 19, '06, 4:09:58 AM   
johnveslin

 

Posts: 3
Joined: Sep. 19, '06,
Status: offline
Thank you for your reply.

We want to use MicroSfot Unix service 3.5 for the Installation & administration of Oracle 11i E-bussiness suit. During the installation of Oracle 11i, we have to provide the COMMON folder path, where all the utilities like grep.exe,make.exe,zip...etc will be available.

Since cc.exe/gcc.exe is not available Instalation will display an alert and eventually installation will not work properly.

Is there any workaround to bring cc.exe/gcc.exe to the common folder? By install additional packages ?

(in reply to Rodney)
Post #: 3
RE: cc.exe/gcc.exe are not found in the COMMON folder - Sep. 19, '06, 4:21:03 AM   
Rodney

 

Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
Why is a "cc.exe" needed for the administration of Oracle?
This might help me (and anyone else reading) figure out what it is that is actually needed.

(in reply to johnveslin)
Post #: 4
RE: cc.exe/gcc.exe are not found in the COMMON folder - Sep. 19, '06, 4:42:31 AM   
johnveslin

 

Posts: 3
Joined: Sep. 19, '06,
Status: offline
Oracle E-bussines suit contains Cuncurrent manager, which will run Oracle Pro*c, C,C++ programs.

During the time of Patching for Oracle E-bussiness suite, it will recompile and relink all the pro*c, C, C++ programs automatically by calling cc.exe. Hence we need cc.exe in the COMMON folder.

Therefore VC++, Make Utility, MKS Tools are the pre-requesits for the installation of Oracle 11i.

Oracle recommends to use MKS tools and it is the ONLY software certified by oracle. However trial versions of MKS tools are not availble for download.

Also Cygwin is having many buggs that also causing problem.

Since I am installing Oracle 11i for my practice purpose I can not purchase MKS Tools. So I have been trying to use Microsoft Unix service. During my trial I found only CC.exe is missing in MS Unix Service, if it is availabel I hope oracle 11i will work properly.

(in reply to Rodney)
Post #: 5
RE: cc.exe/gcc.exe are not found in the COMMON folder - Sep. 19, '06, 11:46:52 AM   
markfunk

 

Posts: 669
Joined: Mar. 31, '03,
Status: offline
You need a cc.exe that builds Win32 executables.
The Interix cc compiler will NOT do this. It will build Interix subsystem executables.

The utils found in SFU's /common directory are explicity win32 only tools.
Which is why you won't find cc.exe there.

You could try wcc but you may have potential problems:
- wcc is an Interix shell script, not a .exe binary.
Oracle build env. may have a problem executing this script.
- wcc expects filenames in Interix/UNIX syntax, not windows syntax
- wcc only knows how to build win32 binaries using MS provided libraries
from the MSVC installation.
There are no additional libraries that provide UNIX api functions.

Other problems:
- Oracle may depend on cc.exe options that MKS compiler provides (and wcc does not)
- The Oracle programs may depend on UNIX apis that are not available in Window's libraries.
The MKS developement toolkit may provide these apis.

So, if Oracle says that you cannot build their stuff using the default MS C++ compiler
and MS libraries, then my guess is that you'll have to go with MKS toolkit.
(or get the cygwin gcc or mingw tools to work)

(in reply to johnveslin)
Post #: 6
RE: cc.exe/gcc.exe are not found in the COMMON folder - Sep. 19, '06, 1:20:25 PM   
Rodney

 

Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
I'll agree with Mark's comments.

I wanted to list another thought though.
You have the Oracle source code to build. Therefore you can look at it.
Are the programs "generic" C & Unix API's only, or do they also make
calls to the Oracle API?
If the former, then that should be easy enough to get them built.
If the latter (as is likely the case) then you may be interested in
the "mixed-mode" compiling with Interix 5.2 (W2K3/R2) and 6.0 (Vista).
Mixed-mode allows for Win32 API's to get called from Interix apps.
Specifically this Mixed-mode compiling has been tested by Microsoft
with Oracle API's.

(in reply to johnveslin)
Post #: 7
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> SFU / Interix - Getting Started >> cc.exe/gcc.exe are not found in the COMMON folder Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.047