Solaris 9 : gcc unrecognized -rdynamic option


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris 9 : gcc unrecognized -rdynamic option
# 1  
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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question