05-19-2009
XL C/C++ Compiler
Hello, I am trying to use the IBM XL C/C++ Compiler on my AIX server. I have uised smit to install it and it appears to have been successful. When I however type XlC it tells me that I am still using my old compiler which is VisualAge C++ Professional / C for AIX Compiler, Version 5. How can I switch to the new XL C/C++ Enterprise Edition V8.0 that I have installed? If I run lslpp -l | grep xlC I get the following output:
xlC.adt.include 5.0.2.0 COMMITTED C Set ++ Application
xlC.aix43.rte 5.0.0.0 COMMITTED C Set ++ Runtime for AIX 4.3
xlC.aix50.rte 8.0.0.8 COMMITTED C Set ++ Runtime for AIX 5.0
xlC.cpp 6.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.JA_JP.cpp 6.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.JA_JP.rte 6.0.0.0 COMMITTED C Set ++ Runtime
xlC.msg.Ja_JP.cpp 6.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.Ja_JP.rte 8.0.0.8 COMMITTED C Set ++ Runtime
xlC.msg.ZH_CN.cpp 6.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.ZH_CN.rte 6.0.0.0 COMMITTED C Set ++ Runtime
xlC.msg.en_US.cpp 6.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.rte 8.0.0.8 COMMITTED C Set ++ Runtime
xlC.msg.ja_JP.cpp 6.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.ja_JP.rte 8.0.0.8 COMMITTED C Set ++ Runtime
xlC.rte 8.0.0.8 COMMITTED C Set ++ Runtime
~David
Last edited by dkranes; 05-19-2009 at 05:02 PM..
9 More Discussions You Might Find Interesting
1. Programming
I have just installed C compiler, the installation
was successful but when I try to excute a gcc file I received the error message
"types.c: In function `main':
> types.c:4: warning: return type of `main' is not `int'
> ld: fatal: file values-Xa.o: open failed: No such file or directory
>... (5 Replies)
Discussion started by: hassan2
5 Replies
2. Programming
i'm using linux to compile my c program right now. are there any free c compiler with all the standard header file, such as <stdio.h>, <unistd.h>..., i can download and use?
can Microsoft Visual C++ compile C code?
thanks. (1 Reply)
Discussion started by: bb00y
1 Replies
3. Programming
I'm new to C but eager to get started. I purchasewd beginning C by Ivor Horton and realise that I need a C compiler. I looking for the most appropriate and economical way to obtain this, any suggestions would be greatly appreciated. (5 Replies)
Discussion started by: ferret
5 Replies
4. Programming
my C compiler cc is not working. probably it has corrupted.
can anyone tell me location from where i can download it.
Regards (4 Replies)
Discussion started by: rochitsharma
4 Replies
5. UNIX for Dummies Questions & Answers
Hi,
we are converting from IBM-AIX(xl c/c++ compiler) to Linux(GCC complier).
As a part of this i need to change the CFLAGS.
The xl c/c++ complier CFLAGS is
CFLAGS := $(CDEBUG) $(PROJECT_INCLUDE_DIRS) $(COBJECT_MODE) -qcpluscmt -qmakedep -qcheck=all \
-qalign=bit_packed $(LINT_FLAGS)... (0 Replies)
Discussion started by: pbattu1
0 Replies
6. Programming
To make a programming language you need a compiler, so what was the first programming language and how was is created if you need the compiler first?
The compiler itself is considered as a high language comparing to the machine! since the compiler is not created in 1's and 0's...
Eventhough i... (12 Replies)
Discussion started by: f.ben.isaac
12 Replies
7. Solaris
Greetings, :rolleyes: :o :confused:
I am working on Solaris 8. I have a few questions:
1. How do I determine if I have the CC compiler? I know it isn't in my $PATH, so how do I find it?
2. How do you install wget? I have read the INSTALL file, but I am not familar with the switches,... (25 Replies)
Discussion started by: Roam
25 Replies
8. UNIX for Dummies Questions & Answers
hi,
can we install gcc compiler in unix based OS(sun solar,IBM AIX,HP,etc) and also
can we install sun cc compiler in AIX environment and vice versa.
and more ..is linux support cc compiler
regards
Ajay (3 Replies)
Discussion started by: ajaysahoo
3 Replies
9. Shell Programming and Scripting
I have the code
.section .data
format_string: .asciz "Tong la '%d'\n"
n: .int 6
.section .text
.globl _start
_start:
movl $0,%esi
movl n,%eax
movl $0,%ecx
loop1:
cmp %eax,%ecx
je print
add %eax,%esi
dec %eax
jmp loop1
print:
movl $format_string, %edi
movl $0, %eax (1 Reply)
Discussion started by: toantk_55
1 Replies
LEARN ABOUT DEBIAN
module::install::compiler
Module::Install::Compiler(3pm) User Contributed Perl Documentation Module::Install::Compiler(3pm)
NAME
Module::Install::Compiler - Commands for interacting with the C compiler
SYNOPSIS
To be completed
DESCRIPTION
Many Perl modules that contains C and XS code have fiendishly complex Makefile.PL files, because ExtUtils::MakeMaker doesn't itself provide
a huge amount of assistance and automation in this area.
Module::Install::Compiler provides a number of commands that take care of common utility tasks, and try to take some of intricacy out of
creating C and XS modules.
COMMANDS
To be completed
TO DO
The current implementation is relatively fragile and minimalistic.
It only handles some very basic wrapper around ExtUtils::MakeMaker.
It is currently undergoing extensive refactoring to provide a more generic compiler flag generation capability. This may take some time,
and if anyone who maintains a Perl module that makes use of the compiler would like to help out, your assistance would be greatly
appreciated.
SEE ALSO
Module::Install, ExtUtils::MakeMaker
AUTHORS
Refactored by Adam Kennedy <adamk@cpan.org>
Mostly by Audrey Tang <autrijus@autrijus.org>
Based on original works by Brian Ingerson <ingy@cpan.org>
COPYRIGHT
Copyright 2002, 2003, 2004, 2006 by Adam Kennedy, Audrey Tang, Brian Ingerson.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See <http://www.perl.com/perl/misc/Artistic.html>
perl v5.14.2 2012-03-01 Module::Install::Compiler(3pm)