1752800 Members
5315 Online
108789 Solutions
New Discussion юеВ

aCC compiler doesn't run

 
jose_luis_fdez_diaz
Occasional Advisor

aCC compiler doesn't run

Hi,

When I try to compile a simple C program, the next error is returned by aCC:


m3vmsa3.caddebug /tmp > uname -a
HP-UX m3vmsa3 B.11.00 U 9000/800 178951547 unlimited-user license
m3vmsa3.caddebug /tmp > cat kk.c

int main()
{}
m3vmsa3.caddebug /tmp > aCC -v kk.c
/opt/aCC/lbin/ctcom.pa20 -inst compiletime -diags 523 -D __HP_CXD_SPP=1 -D __hppa -D __hpux -D __unix -D __hp9000s800 -D __STDCPP__ -D __HP_aCC=32700 -D _PA_RISC2_0 -I /opt/aCC/include -I /opt/aCC/include/iostream -I /usr -I /usr/include -inline_power 1 -longbranch 2 -unique_strings on -cachesize 256 kk.c
/usr/ccs/bin/ld -o a.out /opt/langtools/lib/crt0.o -u ___exit -u main -L /opt/aCC/lib /opt/aCC/lib/cpprt0.o kk.o -lstd -lstream -lCsup -lm -lcl -lc /usr/lib/libdld.sl >/var/tmp/AAAa10867 2>&1
/opt/aCC/bin/c++filt &2
/usr/ccs/bin/ld: Can't open kk.o
/usr/ccs/bin/ld: No such file or directory
removing /var/tmp/AAAa10867



Any hint?

Thanks in advance,
Jose Luis
5 REPLIES 5
Dennis Handly
Acclaimed Contributor

Re: aCC compiler doesn't run

You shouldn't use aCC to compile "simple C" programs. That's what cc is for.
There is a "aCC -Ae" option but A.03.27 is too old to support it.

Do you have write permission to the current directory? But I would expect you to get an error like:
Error 5209: # Cannot open object file kk.o (5209)
Steven E. Protter
Exalted Contributor

Re: aCC compiler doesn't run

Shalom Jose,

Also note that your OS is out of support along with your compiler.

You seem to be tryig to make things hard on yourself.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
jose_luis_fdez_diaz
Occasional Advisor

Re: aCC compiler doesn't run


Hi,

The file:

m3vmsa3.caddebug /tmp > ll /opt/aCC/lbin/ctcom.pa20
-r-xr-xr-x 1 bin bin 0 Sep 26 15:33 /opt/aCC/lbin/ctcom.pa20


is empty.

My apologies for waste your time.

Regards,
Jose Luis.
Dennis Handly
Acclaimed Contributor

Re: aCC compiler doesn't run

>The file ctcom.pa20 is empty.

Hmm. Do you know how that happened? If it isn't there it will use ctcom.
jose_luis_fdez_diaz
Occasional Advisor

Re: aCC compiler doesn't run


/opt/aCC/lbin/ctcom was empty too.

Regards,
Jose Luis