vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| brufan wrote: > Hi, > I'm trying to compile some software on AIX 5.2 but get a "cc_r" not found. > How do I go about getting/installing this C compiler? I've tried googling > but can't find a download site. Is it on the OS cd? > > thanks, > Joe. Joe, cc_r is an "alias" (i.e. symlink) for the xlc compiler... i.e. the "C for AIX" or VisualAge C/C++ compiler. Invoking it as "cc_r" instead of "cc" will automatically set some compiler flags and include additional library to support THREADED programming. Here's what it looks like on our AIX 5.1 system: #> whence cc /usr/bin/cc #> ls -l /usr/bin/cc* lrwxrwxrwx 1 root system 15 Jul 25 16:04 /usr/bin/cc -> /usr/vac/bin/cc lrwxrwxrwx 1 root system 18 Jul 25 16:04 /usr/bin/cc128 -> /usr/vac/bin/cc128 lrwxrwxrwx 1 root system 20 Jul 25 16:04 /usr/bin/cc128_r - > /usr/vac/bin/cc128_r lrwxrwxrwx 1 root system 17 Jul 25 16:04 /usr/bin/cc_r -> /usr/vac/bin/cc_r lrwxrwxrwx 1 root system 18 Jul 25 16:04 /usr/bin/cc_r4 -> /usr/vac/bin/cc_r4 lrwxrwxrwx 1 root system 18 Jul 25 16:04 /usr/bin/cc_r7 -> /usr/vac/bin/cc_r7 As to a download site... ....Well, C for AIX is an extra-cost LPP. Here's the announcement letter for "C for AIX" version 6: http://www-306.ibm.com/common/ssi/fc...02-161#@2h@82@ Here's a more recent announcement: http://www-306.ibm.com/common/ssi/fc...um=ENUS205-252 HTH, -tony |
| ||||
| brufan wrote: > Hi, > I'm trying to compile some software on AIX 5.2 but get a "cc_r" not found. > How do I go about getting/installing this C compiler? I've tried googling > but can't find a download site. Is it on the OS cd? IBM does not deliver a compiler with ist AIX OS. Is a separatly licensed product. You might try an trial & buy version: Go to IBM http://www14.software.ibm.com/webapp...earchquery.jsp and search for 'XL C' or use the GNU Compiler provided on the AIX Toolbox CD hth Hajo |