aix xlc


 
Thread Tools Search this Thread
Operating Systems AIX aix xlc
# 1  
Old 09-03-2007
aix xlc

Hi guys,

I need to compile sap libraries, installed make, automake, gcc, libstc libgcc and everything I used to install on linux when compiling

when i run make, it aborts with the error msg
/usr/bin/sh: xlc: not found.

I see the binary xlc is missing

lslpp -l | grep -i xlc

xlC.aix50.rte 8.0.0.7 APPLIED C Set ++ Runtime for AIX 5.0
xlC.cpp 6.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.cpp 6.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.rte 8.0.0.7 APPLIED C Set ++ Runtime
xlC.rte 8.0.0.7 APPLIED C Set ++ Runtime

but non of this packages contains the xlc binary

don't know how to get it, any ideas?

oslevel : aix5.3 ml05

thanks in advance

funksen
# 2  
Old 09-03-2007
xlc is IBM's AIX compiler. You either need to get that from IBM or use GCC typically by saying "CC=gcc" on the make line.
# 3  
Old 09-03-2007
thanks for your answer

CC=gcc doesn't work
Code:
        ./build."`uname -s | tr '/' '-'`" make do-all
Building for 32-bit AIX in subdirectory "aix_32/"
        gcc -o aix_32/gsstest -qspill=1024 -qlanglvl=ansi -qarch=com aix_32/buffers.o   aix_32/contexts.o       aix_32/creds.o     aix_32/debug.o       aix_32/errors.o aix_32/filexfer.o  aix_32/generic.o     aix_32/gsstest.o        aix_32/msg_prot.o  aix_32/names.o       aix_32/non_ansi.o       aix_32/oids.o      aix_32/platform.o    aix_32/rtlink.o aix_32/timer.o     aix_32/verbose.o     aix_32/md5.o   aix_32/load_dll.o -brtl -ldl -lpthread
gcc: `-b' must come at the start of the command line
make: 1254-004 The error code from the last command is 1.


Stop.
Building for 64-bit AIX in subdirectory "aix_64/"
        gcc -qspill=2048 -b64 -qlanglvl=ansi -qarch=com -DXDEBUG=1 -o aix_64/buffers.o -c buffers.c
gcc: `-b' must come at the start of the command line
make: 1254-004 The error code from the last command is 1.


Stop.

i'm sure this must be done with xlc, I've installed all available xlc packages, expect the enterprise edition of xlc, which is licensed as an extra product and can't be downloaded
# 4  
Old 09-03-2007
ok the fileset is vac.C, installed it (and a few prereqs), works now

here is a little configuration tut, kinda tricky with licence server

Installation and Configuration of the "C for AIX Compiler" (server and Client) - blog'o thnet
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Open Source

/usr/bin/sh xlc not found

Hi Everyone, We are trying to compile Kerberos library using xlc and we get an error that xlc is not found in the system. We tried using gcc as well but it also fails with the same error. We could not find the compiler in the software media we received from IBM. Any inputs on how... (2 Replies)
Discussion started by: madhav.kunapa
2 Replies

2. Linux

Xlc compiler on Redhat Linux

Hi , Currently i have my c and pro*c code got compiled in IBM POWER - AIX machine with xlc compiler version 9. We are planning to migrate all our applications from IBM POWER - AIX to Redhat Linux. Can i use the same current (IBM AIX) xlc compiler with the same compiling... (3 Replies)
Discussion started by: mugunthanvh
3 Replies

3. AIX

AIX xlc compiler vs gcc

Hello, We are migrating some applications from previously running on an AIX system to a Linux RedHat system. I was tasked with recompiling some of the code. Unfortunatly I am a big novice on this. So i have the commands used to compile the code with xlc compiler in the AIX environment and i am... (0 Replies)
Discussion started by: spooksman
0 Replies

4. UNIX for Advanced & Expert Users

XLC compiler: enterprise edition VS XLC for AIX

Who can explain in a few words the difference between XLC for AIX and XLC enterprise Edition for AIX (0 Replies)
Discussion started by: fvaltat1
0 Replies

5. AIX

xlc question on AIX

Problem when compiling c-source with xlc it will generate some other files .lst .call. This kind of files is generated on the current directory. Question Can I influence the directory where the .lst and .call is generated. What i want is a dir stucture like this: project |---c-source... (0 Replies)
Discussion started by: corley
0 Replies

6. AIX

AIX Xlc compiler

Hi Team I have a native applicaiton built on AIX using the xLC v8 Which could be the possible impacts from a code change point of view if I'll compile with the xLC v10? Thanks Marco (0 Replies)
Discussion started by: antcos
0 Replies

7. AIX

Aix xlc interesting SEGV on exit

Hello all, One of the application we port to Aix from linux Segmentation faults when it exits. Here is part of backtrace of SEGV: (dbx) where splay(??, ??, ??) at free_y(??, ??) at free_common(??) at .... exit(??) at ... Application seem to perform everything expected well and... (1 Reply)
Discussion started by: qrio.qrio
1 Replies

8. AIX

Need help installing 'xlc' on AIX

Hello, I'm getting "xlc: not found" error compiling code using 'make oracle' command on IBM AIX. C/C++ compiler is installed, but 'xlc' still missing. Could you please tell me which OS package contains the 'xlc' executable? $ > make oracle xlc -qmkshrobj -e MQStart -L/usr/mqm/lib -lmqmcs_r... (4 Replies)
Discussion started by: safir29
4 Replies

9. AIX

Multiple xlC on the same LPAR

Guys, Is it possible to install two different xlC runtimes on the same LPAR. I have to run DB2 9.5 and an application in the same LPAR. DB2 9.5 requires xlC 9 but the application will only run in xlC 8.0.0.0 How to bit this? :confused: (2 Replies)
Discussion started by: firdousamir
2 Replies

10. Programming

AIX- xlc and cc

when i compile with Xlc i sometimes get the following Error: (S) Initialization between types "int" and "struct MskTtimerData*" is not allowed. when i compile with cc with the same Flags, i only get a (W) with the same message, but it compiles fine. How can i get the Xlc to 'ignore' the... (3 Replies)
Discussion started by: Lazzar
3 Replies
Login or Register to Ask a Question