John Tytgat <[email protected]> wrote: > The prefix arm-unknown-riscos- is a standard way these days to indicate > that this is the cross-compiler for the arm-unknown-riscos- target. It > would be possible to drop the prefix (one of many configure options) but > that tends to confuse the build procedure based on autotools unless you > start massaging its options (and there are projects who need access to the > host compiler, i.e. gcc, to build a tool needed to build the rest of the > project). > > For makefiles used for cross compilation, you can use something like: > > CC := $(wildcard $(GCCSDK_INSTALL_CROSSBIN)/*gcc) > > And use $(CC) for specifying your compiler in the rest of your Makefile.
Thanks (and to Peter) -- that all makes sense. I was still thinking in the mindset of calling gcc from the user riscos. I'll go away and have a play with all this again, and see how far I get. -- Steve Fryatt - Leeds, England http://www.stevefryatt.org.uk/ _______________________________________________ GCCSDK mailing list [email protected] Bugzilla: http://www.riscos.info/bugzilla/index.cgi List Info: http://www.riscos.info/mailman/listinfo/gcc Main Page: http://www.riscos.info/index.php/GCCSDK
