delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=0.7 required=5.0 tests=AWL,BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Cesar Strauss <cestrauss AT gmail DOT com> |
Subject: | Re: GCC, -rdynamic option is unrecognized by GCC. |
Date: | Sat, 02 Jan 2010 20:21:19 -0200 |
Lines: | 35 |
Message-ID: | <hhogsv$v4m$1@ger.gmane.org> |
References: | <BLU0-SMTP36DAE1B773C84D963D0B89DD770 AT phx DOT gbl> |
Mime-Version: | 1.0 |
User-Agent: | Thunderbird 2.0.0.23 (Windows/20090812) |
In-Reply-To: | <BLU0-SMTP36DAE1B773C84D963D0B89DD770@phx.gbl> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Claude Sylvain wrote: > - I am trying (without success) to compile this application (PCB): > http://geda.seul.org/dist/pcb-20091103.tar.gz > > - "configure" work well. But... > > - When doing a "make", there is a message telling: > "gcc: unrecognized option '-rdynamic'" Actually, this message is only a warning, and should not prevent a successful build of pcb. > Followed by a ton of linker messages telling: > "...: undefined reference to ...". What "gcc --version" gives you? Is it 4.3.4? Curiously, when I tried it myself, the build succeeded with gcc 3.4.4, but failed with undefined references when switching to gcc 4.3.4. They seem to be related to some inline functions in toporouter.c. I will try to narrow it down. Meanwhile, you could try switching to gcc 3.4.4: 1) Install gcc-core from Cygwin Setup 2) chmod +x /usr/bin/set-gcc-default* 3) set-gcc-default-3.sh 4) gcc --version (should be 3.4.4) 5) Rebuild pcb from scratch. Or, alternatively, keep gcc 4.3.4, but remove all "inline" keywords from toporouter.c. Cesar -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |