delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <BLU0-SMTP599C48AB32D78699C16B38DD760@phx.gbl> |
Date: | Sat, 02 Jan 2010 18:34:54 -0500 |
From: | Claude Sylvain <csylvain AT electro-technica DOT com> |
User-Agent: | Thunderbird 2.0.0.23 (Windows/20090812) |
MIME-Version: | 1.0 |
To: | Cygwin mailing list <cygwin AT cygwin DOT com> |
Subject: | Re: GCC, -rdynamic option is unrecognized by GCC. |
References: | <BLU0-SMTP36DAE1B773C84D963D0B89DD770 AT phx DOT gbl> <hhogsv$v4m$1 AT ger DOT gmane DOT org> |
In-Reply-To: | <hhogsv$v4m$1@ger.gmane.org> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
Hello Cesar, Cesar Strauss wrote: > > What "gcc --version" gives you? Is it 4.3.4? > On my computer, Cygwin GCC tell: gcc (GCC) 4.3.4 20090804 (release) 1 > > 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. > - After some hours of work, I find the way to built PCB. But it is really dirty. Here what I have done: - Done a "./configure" using the following command: "./configure --disable-update-mime-database --disable-update-desktop-database --disable-nls --disable-update-xdg-database --prefix=/usr/local/geda" - In "src/core_lists.h", removed the last line ("REGISTER_ACTIONS (toporouter_action_list)"). - Do a "make". Note: This result to a link error at the end. - Grab (stdout) messages given by "make", and use it to create a custom manual link (through a shell script), replacing bad references to local libraries. Ex.: Replacing "libgtk.a", by "-lgtk". Also removing "toporouter.o" that seems to refer to objects that can not be found anywhere!? - Do a "make install". - I will try your workaround. Thank you for your help. Claude. -- 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 |