This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the GCJ project. See the GCJ home page for more information.
Hi, I trying to compile the EGCS compiler with the java front end, I run into a problem where the compilers on my system interferes with each other. Half the time the make files expects to run the local xgcc(and use its subparts within the build tree of the EGCS compiler) and the other half it expects to use the systems. The problem I have seen is when xgcc is called from within the build tree, it pics up cpp and cc1 up from the path, so if you don't have . as the first entry in your path, it will pick up the system installed cpp and cc1 which doesn't support the same options... (or you can set GCC_EXEC_PREF environment variable), but if you do that now when the system gcc is called, it picks up the EGCS pieces and things don't work that way either :-) So, I assume that I am doing something wrong - that there is some kind of parameter that I can set in the Makefile to tell the EGCS xgcc compiler front end to only pick up pieces within the build tree. Could someone please be so kind to inform me what they are? lars -- ------------------------------------------------------------------- Lars Fredriksen fredriks@mcs.com (home) lars@odin-corporation.com (home-work) www.odin-corporation.com