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 Subject: Re: GCC, -rdynamic option is unrecognized by GCC. Date: Sat, 02 Jan 2010 20:21:19 -0200 Lines: 35 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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