01-20-2004
Differences gcc <-> aCC
Hi all!
I'm working on a HP UX 11 machine. I have an executable build with gcc and a shared library (sl) build with aCC. If i start the executable, i have many errors about unresolved symbols. Is the binary output of aCC and gcc compatible?
Greetings!
9 More Discussions You Might Find Interesting
1. HP-UX
- I ran the command:
swinstall -p -v -s /home/garybowd/aCC-11.11-3.55ws.depot
- I selected the S800 Package (I also tried this with the S700, but i'm pretty sure our server is S800)
- I selected install, and these are the errors i got:
ERROR: Exclude ... (1 Reply)
Discussion started by: gbowdridge
1 Replies
2. HP-UX
How to use detach function for aCC.
Error 187:
"/cc/smc3/root/development/auto_activation/AARS/src/ResultServer.cpp",
line 623 # Referenced object 'detach' is not a member of class
basic_ofstream<char,std::char_traits<char> >
.
READ_TOKEN(tmp) (0 Replies)
Discussion started by: onlyforforum
0 Replies
3. HP-UX
Hi,
Can anybody guide as to whether the aCC compiler for RISC (9000/785) be used with ia64 processor? (2 Replies)
Discussion started by: slash_blog
2 Replies
4. HP-UX
hello,
i'm now working on a traduction of a makefile from HP_UX environnement to IBM_AIX environnement, so , first of all i need help about aCC compiler and the meaning of each option of compilation, and if possible its equivalent in AIX
it's urgent, any help will be highly appreciated (0 Replies)
Discussion started by: kingmastersimo
0 Replies
5. HP-UX
Hi,
We are currently using the aCC 3.13 compiler in HP-UX 11.0 but we need to upgrade the aCC compiler version from aCC 3.13 to aCC3.31.
1. Is there any major impact of update the compiler?
2. What are the major things we need to make sure before updating the compiler?
Can any one guide... (2 Replies)
Discussion started by: gyanusoni
2 Replies
6. HP-UX
All,
I'm filling in for the HPUX guy here (I'm AIX), and a client needs the 6.0.5 aCC compiler loaded up on an IA64 system. Where can I find the installs? Are they someplace on the system cd's?
Thanks in advance for your help.
Shawn (1 Reply)
Discussion started by: ZekesGarage
1 Replies
7. Solaris
AIM- Install Oracle 11g on Solaris using VMWare
Steps
1.Logged on as root
2.Created subfolders à /usr/local/bin & /usr/local/bin/gcc
3.Downloaded gcc & libiconv & unzipped them on my harddrive & burnt them on CD
4.Copied files from CD to /usr/local/bin/gcc
5.Terminal (root) à pkgadd -d... (8 Replies)
Discussion started by: Ackers
8 Replies
8. Shell Programming and Scripting
Hi
Hope you are having a great weeknd !! I had a question and need your expertise for this :
I have 2 files File1 & File2(of same structure) which I need to compare on some columns. I need to find the values which are there in File2 but not in File 1 and put the Differences in another file... (5 Replies)
Discussion started by: newbie_8398
5 Replies
9. UNIX for Dummies Questions & Answers
Hi guys
I would just like to know if aCC supports the command exit(0); in c++?
I am always getting the error below:
Error 328: "ac5.C", line 37 # Function 'exit' has not been defined yet; cannot call.
exit(0);
^^^^
Anyone had this problem?
Thanks! (2 Replies)
Discussion started by: khestoi
2 Replies
LEARN ABOUT CENTOS
execstack
execstack(8) System Manager's Manual execstack(8)
NAME
execstack - tool to set, clear, or query executable stack flag of ELF binaries and shared libraries
SYNOPSIS
execstack [OPTION...] [FILES]
DESCRIPTION
execstack is a program which sets, clears, or queries executable stack flag of ELF binaries and shared libraries. Linux has in the past
allowed execution of instructions on the stack and there are lots of binaries and shared libraries assuming this behaviour. Furthermore,
GCC trampoline code for e.g. nested functions requires executable stack on many architectures. To avoid breaking binaries and shared
libraries which need executable stack, ELF binaries and shared libraries now can be marked as requiring executable stack or not requiring
it. This marking is done through the p_flags field in the PT_GNU_STACK program header entry. If the marking is missing, kernel or dynamic
linker need to assume it might need executable stack. The marking is done automatically by recent GCC versions (objects using trampolines
on the stack are marked as requiring executable stack, all other newly built objects are marked as not requiring it) and linker collects
these markings into marking of the whole binary or shared library. The user can override this at assembly time (through --execstack or
--noexecstack assembler options), at link time (through -z execstack or -z noexecstack linker options) and using the execstack tool also on
an already linker binary or shared library. This tool is especially useful for third party shared libraries where it is known that they
don't need executable stack or testing proves it.
OPTIONS
-s --set-execstack
Mark binary or shared library as requiring executable stack.
-c --clear-execstack
Mark binary or shared library as not requiring executable stack.
-q --query
Query executable stack marking of binaries and shared libraries. For each file it prints either - when executable stack is not
required, X when executable stack is required or ? when it is unknown whether the object requires or doesn't require executable
stack (the marking is missing).
-V Print execstack version and exit.
-? --help
Print help message.
--usage
Print a short usage message.
ARGUMENTS
Command line arguments should be names of ELF binaries and shared libraries which should be modified or queried.
EXAMPLES
# execstack -s ~/lib/libfoo.so.1
will mark ~/lib/libfoo.so.1 as requiring executable stack.
# execstack -c ~/bin/bar
will mark ~/bin/bar as not requiring executable stack.
# execstack -q ~/lib/libfoo.so.1 ~/bin/bar
will query executable stack marking of the given files.
SEE ALSO
ld.so(8).
BUGS
execstack doesn't support yet marking of executables if they do not have PT_GNU_STACK program header entry nor they have room for program
segment header table growth.
AUTHORS
Jakub Jelinek <jakub@redhat.com>.
28 October 2003 execstack(8)