AIX XCOFF and COFF format files, but does support the older format, COFF. I think that file is in another format.
Try the file command on gcrt0.o - file /path/to/gcrt0.o See what it tells you. This is just a start. Please post the output.
I do not know enough AIX to know if there are gcc options on AIX to handle this problem. By default .o files from gcc compilation are COFF. I dunno what you have there.
seeing that I'm still being new working on AIX could you please give me a link to a tutorial or something that can help me to install lt ?
thanks in advance
Installing software on AIX is straightforward (i suppose you have just the package there, no NIM-server to use, etc.). You have to do everything that follows as root:
put the package file to a new directory. If it has dependencies (see below) put them there too. At last change to this directory:
call the "inutoc" utility to create an inventory file. The file "./.toc" is created:
# inutoc .
# ls .toc
.toc
You can even inspect the file, it is plain text. Now use SMITty to install the package(s). It can be done from commandline too, but you might find it easier to do it from a menu:
# smitty install_all
in the upcoming menu select "." as the installation directory and in the following mask select "accept all license agreements", deselect "view license agreements", select "commit software" and deselect "overwrite same or newer versions".
Check "preview only" to see if everything would do OK, once you are satisfied with the results deselect that field to do the installation in real.
If you get prerequisite failures copy the respective package files to the same directory, run "inutoc" again and try again.
Hello CarloM & Bakunin,
Thanks a lot for your help, but the problem is that I can't find the Gnu profiler package !! I looked for it on perzl and on IBM web site but I didn't find it ...
any direct link to download it ?
Thanks in advance
No. Your immediate problem, as you described it, is that the package "bos.adt.prof" is not installed. This is part of standard AIX (though it is not installed per default) and should be on your installation sources (your installation CD, the lpp_source of your NIM-Server, ...).