Bugs item #2890747, was opened at 2009-11-02 16:30 Message generated for change (Comment added) made by dannybackx 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: 5 Private: No Submitted By: http://openid.claimid.com/vonol () Assigned to: Nobody/Anonymous (nobody) Summary: Wrong search dirs? 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: Danny Backx (dannybackx) Date: 2009-11-02 17: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 ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel