From: SourceForge.net <no...@so...> - 2003-03-30 15:19:45
|
Bugs item #671479, was opened at 2003-01-20 19:04 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=671479&group_id=2435 Category: msys Group: None Status: Open Resolution: None Priority: 5 Submitted By: Eric Weddington (arcanum) Assigned to: Earnie Boyd (earnie) Summary: Error w/ cross-GCC after build with msys 1.0.8. Initial Comment: I build a cross-GCC for the AVR target. Everything works great on msys-1.0.8-rc-2. When I upgraded to msys-1.0.8 (released), building avr-gcc went fine, however the avr-gcc could now not find any of the avr system header files or the gcc system headers. This was confirmed with the 20021209 snapshot of GCC 3.3 and the 20030113 snapshot of GCC 3.3 (which is marked as prerelease). In both cases the avr-gcc built fine on msys-1.0.8-rc-2 and behaved correctly. They both built fine with msys-1.0.8 (released) but both did not behave correctly in that they could not find system header files. When I took a version of GCC and built it with msys-1.0.8 (released) and msys-1.0.8-rc-2 I did notice a size difference with the cc1.exe component between the two builds. Please CC er...@um... as I'm not able to subscribe to any mingw mailing lists. Thanks. Eric Weddington ---------------------------------------------------------------------- >Comment By: Earnie Boyd (earnie) Date: 2003-03-30 10:34 Message: Logged In: YES user_id=15438 Please provide a simple test case. Earnie. ---------------------------------------------------------------------- Comment By: Jason Wilkins (jasonwilkins) Date: 2003-03-29 21:40 Message: Logged In: YES user_id=650608 When I said 'passed into' I meant 'built into' When cppdefaults.c is built, the paths passed into have relative paths which are important to the way it works. msys screws these paths up so that they do not work properly if you move the resulting cpp from a different directory. The solution, i think, is to have msys be smarter about paths and not remove ".." ---------------------------------------------------------------------- Comment By: Jason Wilkins (jasonwilkins) Date: 2003-03-29 21:34 Message: Logged In: YES user_id=650608 I am having this same problem, and I tracked it to the way msys converts paths into dos paths. The problem is that it takes all the relative path stuff out of it, so the paths passed into cpp0.exe as include paths no longer the proper prefix which is needed for them to be rewritten when you relocate the compiler to a different directory. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=671479&group_id=2435 |