Sponsored Content
Operating Systems Solaris Solaris 9 : gcc unrecognized -rdynamic option Post 302679481 by bubsland on Tuesday 31st of July 2012 04:35:25 AM
Old 07-31-2012
Solaris 9 : gcc unrecognized -rdynamic option

Hi all,

I'm trying to compile gdb (7.4.1) 64 bit on Solaris 9 SPARC.
First, I launch the configuration
Code:
~/gdb-7.4.1$>CC="gcc -m64" ./configure --disable-tui --prefix=$HOME/destdir/

Then, compilation
Code:
~/gdb-7.4.1$>make

During compilation gcc (3.4.6) is not enable to recognized the option -rdynamic Smilie
Code:
gcc -m64 -g -O2    -rdynamic  \
      -o gdb gdb.o libgdb.a \
      ../readline/libreadline.a ../opcodes/libopcodes.a ../bfd/libbfd.a  ./../intl/libintl.a ../libiberty/libiberty.a 
      ../libdecnumber/libdecnumber.a -ldl -ldl -ltermcap -lz -lsocket -lnsl -lm  ../libiberty/libiberty.a  gnulib/libgnu.a 
gcc: unrecognized option `-rdynamic'
Undefined			first referenced
 symbol  			    in file
compressBound                       ../bfd/libbfd.a(compress.o)
ld: fatal: Symbol referencing errors. No output written to gdb
collect2: ld returned 1 exit status

Any Ideas ??

Thanks in advance,

Best regards
 

10 More Discussions You Might Find Interesting

1. Programming

gcc for solaris 2.6

Hi Friends, Is there any website that I can download gcc for solaris 2.6? thanks jen (9 Replies)
Discussion started by: jennifer
9 Replies

2. Programming

GCC (solaris)

I packed gcc to /usr/local/ with pkgadd and when I wan't to compile a c code file it says gcc: no file how do I configure gcc on Solaris 8 plz help (1 Reply)
Discussion started by: CreamHarry
1 Replies

3. Programming

what is gcc -e option in C

hi could any one tell me why we r using -e option in gcc ? thanks (3 Replies)
Discussion started by: useless79
3 Replies

4. Solaris

Need help in building gcc on solaris.

We are moving from old solaris to new version of solaris. I have copied the gcc compiler installed on old server to new solaris server. But just copying didn't work. So I am trying to build it on the new server. The server version is sailfish@st-kvar02 -> uname -a SunOS st-kvar02 5.10... (7 Replies)
Discussion started by: nalina.hv
7 Replies

5. Solaris

gcc not working on Solaris 10

I have a very simple c++ program like: > cat easy_gcc.cc #include <sys/types.h> #include <sys/ipc.h> #include <sys/shm.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <unistd.h> #include <ctype.h> int debugging = 1; int main() { printf ("This is a... (2 Replies)
Discussion started by: miltony123
2 Replies

6. Solaris

Help with installing gcc on Solaris 10

I want to install gcc for Solaris 10 to an alternate location besides /usr/local/bin, so I can't use the pre-compiled package from sunfreeware.com. So I assume I need to compile gcc for myself and specify --prefix. How can I accomplish this? Am I pretty much out of luck trying to compile... (3 Replies)
Discussion started by: srhadden
3 Replies

7. Solaris

gcc problem on Solaris

I just installed gcc from the latest package at sunfreeware.com using pkgadd. I write a simple 'Hello World!' program to test it. I try to compile it and I get this error: rockstar# gcc hello.c -o hello ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory Killed I... (0 Replies)
Discussion started by: Bradj47
0 Replies

8. Programming

gcc option -frepo

What is the option -frepo of gcc? Is it possible to direct all template instantiations to one compiled unit? (1 Reply)
Discussion started by: rose1
1 Replies

9. Solaris

Unrecognized option: sparc-sun-Solaris2.10/bin/as: unrecognized option `-m32'

Hi, I installed some packages required by an app built with python. But when I try python setup.py install, I get the following error: /opt/csw/lib/gcc/sparc-sun-solaris2.10/5.2.0/../../../../sparc-sun-solaris2.10/bin/as: unrecognized option `-m32' Could anyone tell me what's wrong... (4 Replies)
Discussion started by: Kimkun
4 Replies

10. Programming

-Warray-bounds option to GCC compiler

What exactly is the -Warray-bounds option to the GCC compiler supposed to warn about? the man page states: ~ g++ --version g++ (GCC) 7.3.1 20180130 (Red Hat 7.3.1-2) Copyright (C) 2017 Free Software Foundation, Inc.Thank you. (14 Replies)
Discussion started by: milhan
14 Replies
GZEXE(1)						      General Commands Manual							  GZEXE(1)

NAME
gzexe - compress executable files in place SYNOPSIS
gzexe name ... DESCRIPTION
The gzexe utility allows you to compress executables in place and have them automatically uncompress and execute when you run them (at a penalty in performance). For example if you execute ``gzexe /usr/bin/gdb'' it will create the following two files: -rwxr-xr-x 1 root root 1026675 Jun 7 13:53 /usr/bin/gdb -rwxr-xr-x 1 root root 2304524 May 30 13:02 /usr/bin/gdb~ /usr/bin/gdb~ is the original file and /usr/bin/gdb is the self-uncompressing executable file. You can remove /usr/bin/gdb~ once you are sure that /usr/bin/gdb works properly. This utility is most useful on systems with very small disks. OPTIONS
-d Decompress the given executables instead of compressing them. SEE ALSO
gzip(1), znew(1), zmore(1), zcmp(1), zforce(1) CAVEATS
The compressed executable is a shell script. This may create some security holes. In particular, the compressed executable relies on the PATH environment variable to find gzip and some standard utilities (basename, chmod, ln, mkdir, mktemp, rm, sleep, and tail). BUGS
gzexe attempts to retain the original file attributes on the compressed executable, but you may have to fix them manually in some cases, using chmod or chown. GZEXE(1)
All times are GMT -4. The time now is 01:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy