Bugs (use Trac instead) item #2890747, was opened at 2009-11-02 07:30 Message generated for change (Comment added) made by pfalcon You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=865514&aid=2890747&group_id=173455
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None >Priority: 3 Private: No Submitted By: http://openid.claimid.com/vonol () Assigned to: Nobody/Anonymous (nobody) >Summary: Wrong search dirs on sygwin? Initial Comment: I run Cygwin 1.7 and installed the mingw32ce 0.59.1 package downloaded from cegcc's SF project page. The package is unarchived in /opt, meaning everything ends up in /opt/mingw32ce/... I added /opt/mingw32ce/arm-mingw32ce/bin to my path evinronment variable. Running gcc.exe/g++.exe works fine. I have no other GCC installed on my system. The problem is when I link object files compiled with the compiler into an executable. I get an error abot crt3.o not found: ld: crt3.o: No such file: No such file or directory This file is located in /opt/mingw32ce/arm-mingw32ce/lib. Running gcc -print-search-dirs give the following output: install: /opt/mingw32ce/arm-mingw32ce/bin/../lib/gcc/arm-mingw32ce/4.4.0/programs: =/opt/mingw32ce/arm-mingw32ce/bin/../libexec/gcc/arm-mingw32ce/4.4.0/:/opt/mingw32ce/arm-mingw32ce/bin/../libexec/gcc/:/opt/mingw32ce/arm-mingw32ce/bin/../lib/gcc/arm-mingw32ce/4.4.0/../../../../arm-mingw32ce/bin/arm-mingw32ce/4.4.0/:/opt/mingw32ce/arm-mingw32ce/bin/../lib/gcc/arm-mingw32ce/4.4.0/../../../../arm-mingw32ce/bin/ libraries: =/opt/mingw32ce/arm-mingw32ce/bin/../lib/gcc/arm-mingw32ce/4.4.0/:/opt/mingw32ce/arm-mingw32ce/bin/../lib/gcc/:/opt/mingw32ce/arm-mingw32ce/bin/../lib/gcc/arm-mingw32ce/4.4.0/../../../../arm-mingw32ce/lib/arm-mingw32ce/4.4.0/:/opt/mingw32ce/arm-mingw32ce/bin/../lib/gcc/arm-mingw32ce/4.4.0/../../../../arm-mingw32ce/lib/ As far as I can tell, the correct path for crt3.o is missing. I have also had to add /opt/mingw32ce/libexec/gcc/arm-mingw32ce/4.4.0 in order for the compiler to find cc1(plus).exe. ---------------------------------------------------------------------- >Comment By: Paul Sokolovsky (pfalcon) Date: 2011-02-05 07:11 Message: Thanks for your bug report! To ease maintenance of the project, we are migrating bug tracking facilities to Trac. We would appreciate if you re-posted this bug on Trac via https://sourceforge.net/apps/trac/cegcc/newticket . Please include link to this bug for reference. ---------------------------------------------------------------------- Comment By: Danny Backx (dannybackx) Date: 2009-11-02 08:57 Message: The output is different on my Linux box. The last element of "libraries" does evaluate to the right place for me (/opt/mingw32ce/lib/gcc/arm-mingw32ce/4.4.0/../../../../arm-mingw32ce/lib/ -> /opt/mingw32ce/arm-mingw32ce/lib/crt3.o) . Does someone with a cygwin system know what's wrong ? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=865514&aid=2890747&group_id=173455 ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel