This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Setting up a cross-compile


I'm sure there must be documentation somewhere on how to do this, but I can't find it.

I want to setup a Linux or Mac OS machine to compile and link programs for a Sun SPARC target.

I know that gcc can be built to cross-compile for another platform, but apart from specifying the target architecture, I don't know what all I need to do.

One thing that I'm sure of is that when this gcc is called, I need it to ignore /usr/include and /usr/lib and pull things from some other directory where I will have to have copied the SPARC versions. Is there a configuration option to tell it where those will be, or do I have to somehow override them at runtime?



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]