diff. between /usr/vac/bin/xlc & /usr/bin/xlc

diff. between /usr/vac/bin/xlc & /usr/bin/xlc

Post by PM WO » Sat, 25 Aug 2001 05:15:07



In aix 4.3 boxes,the c compiler has to be installed
separately and are placed under /usr/vac/bin

On older aix box (i.e. 4.2 ) C came with the OS cdrom
and there's the /usr/bin/xlc (which points to the
actual location /usr/lpp/xlC/bin/xlC)

Now lately I tried to compile sendmail 8.9 under
a machine running aix4.3 (which was actually migrated from 4.2,
so that /usr/lpp/xlC/bin/xlC remains)
and it worked.

But when i compiled it under a machine with aix 4.3 pre-installed
(its C compiler was installed from a AIX C version 5 cd)
, there's no more /usr/bin/xlc (the thing sendmail source looks for)
So i made a symbolic link for /usr/bin/xlc to point to /usr/vac/bin/xlc
The compilation failed.

Now what's the difference between these 2 sets of C compilers.
What must i do to make my compilation work under the box
with only /usr/vac/bin/xlc , but no /usr/bin/xlc

 
 
 

diff. between /usr/vac/bin/xlc & /usr/bin/xlc

Post by sp2 admi » Fri, 24 Aug 2001 22:01:39


they are different versions of the compiler.. like you said, you
installed version 5 on 4.3 and probably had version 4 before....
what error messages do you get?

> In aix 4.3 boxes,the c compiler has to be installed
> separately and are placed under /usr/vac/bin

> On older aix box (i.e. 4.2 ) C came with the OS cdrom
> and there's the /usr/bin/xlc (which points to the
> actual location /usr/lpp/xlC/bin/xlC)
> Now lately I tried to compile sendmail 8.9 under
> a machine running aix4.3 (which was actually migrated from 4.2,
> so that /usr/lpp/xlC/bin/xlC remains)
> and it worked.
> But when i compiled it under a machine with aix 4.3 pre-installed
> (its C compiler was installed from a AIX C version 5 cd)
> , there's no more /usr/bin/xlc (the thing sendmail source looks for)
> So i made a symbolic link for /usr/bin/xlc to point to /usr/vac/bin/xlc
> The compilation failed.
> Now what's the difference between these 2 sets of C compilers.
> What must i do to make my compilation work under the box
> with only /usr/vac/bin/xlc , but no /usr/bin/xlc


 
 
 

diff. between /usr/vac/bin/xlc & /usr/bin/xlc

Post by TI » Sat, 25 Aug 2001 02:39:39


I got a very similar thing maybe you could help me too.

We had aix 4.2.1 and the C++ 3.1.4 and then migrated to 4.3.3 and
Visual Age 4.00 but then noticed that the c ++ wouldn`t compile our
stuff without adapting the sources. We then uninstalled all Visual Age
stuff and installed a clean 3.6.6 of the c ++ compiler.

But now we run in the same problem he can`t find his xlc ....

any hints would be great =)

 
 
 

diff. between /usr/vac/bin/xlc & /usr/bin/xlc

Post by Sabine Schneidere » Sat, 25 Aug 2001 17:27:39



> I got a very similar thing maybe you could help me too.

> We had aix 4.2.1 and the C++ 3.1.4 and then migrated to 4.3.3 and
> Visual Age 4.00 but then noticed that the c ++ wouldn`t compile our
> stuff without adapting the sources. We then uninstalled all Visual Age
> stuff and installed a clean 3.6.6 of the c ++ compiler.

> But now we run in the same problem he can`t find his xlc ....

> any hints would be great =)

Hi,
you find a good overview of various IBM C/C++ compiler versions on different AIX
versions in chapter 1 of IBM redbook
http://www.redbooks.ibm.com/redbooks/SG245674.html
Regards, Sabine
 
 
 

1. /usr/bin, /usr/local/bin, /sbin or /opt/bin, /var/opt/bin - I'm confused.

Hi all,

All these directories are for executable binary, right ?  How does one
decide which executable binary goes to which directory ?

/usr/bin : For what ?
/usr/local/bin:  for what ?
/sbin : ??
/opt/bin : ??
/var/opt/bin : ??

Is there any other /bin beside those above ?

Thanks

2. Q: timed slave

3. /bin /usr/bin /usr/local/bin etc

4. Linux 2.4.21pre4-ac1

5. /usr/bin/ls /usr/ucb/ls /usr/local/bin/ls

6. Linux Server: TCP/IP?

7. setting executable path to both /usr/local/bin/ & /usr/bin/

8. LinuxPPC as Cable Router? (PM7200)

9. /usr/local/bin/perl ->/usr/bin/perl

10. Why does "cd /usr/////bin" = "cd /usr/bin"?

11. /usr/dt/bin/dtksh and /usr/bin/ksh

12. /usr/local/bin vs. /usr/bin

13. why /usr/bin/mailx /usr/bin/mail set the group to be that of the sender