Reg : Powerpc 750 gcc cross compiler Doubt
Wed Jun 28 21:54:00 GMT 2006
On 6/28/06, kiran Pakala <email@example.com> wrote:
> I have a project that I would like to build with powerpc750 gcc cross
> compiler.The test cases are single source files so it is easy to build
> them like I tried below :
> -static bubble.c -o bubble"
> But if I have a project to built by powerpc which has files scattered
> around that need to be included and things being set in the makefile
> and other files.
> writing down implicitly on the command line is one solution i guess,
> I mean the includes and then the plugging in the object files that are
> needed by the main file. Is there a way around this like configuring
> with the target architecture(powerpc).
> Please excuse me for bothering you but I am new to linux and also to
The usual thing to do is set CC to the compiler, then ignore the fact
using a crosscompiler. This usually just works, assuming you're using
a modern build system.
has some notes about how to crosscompile a few common libraries
(along with some outdated notes about how to build a crosscompiler).
You might also look at frameworks that make crosscompiling standard
packages easy, e.g. ptxdist, buildroot, or familiar.
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc