This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


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

Re: Power PC Cross-compiler build


On Feb 6, 11:30am, Alec Creed wrote:
} Subject: Power PC Cross-compiler build
}
} Folks
}
} I'm trying to build a cross-compiler for a PowerPC VME card e.g. MVME1600.
} The host is a SPARC with sunos4.1.3 and the target runs under VxWorks5.2.
}
} So I started with binutils using:
}
} ../binutils-2.7/configure --host=sparc-sun-sunos4.1.3
} --target=powerpc-wrs-vxworks

Instead of the above, use powerpc-unknown-eabi. I just tried building
binutils-2.7 with the following configure line and it worked just fine:

% mkdir powerpc-unknown-eabi
% cd powerpc-unknown-eabi
% ../configure --target=powerpc-unknown-eabi --prefix=/usr/vx5.2/sun4-solaris2
--local-prefix=/usr/vx5.2/sun4-solaris2 --program-suffix=ppc

The EABI is used by several os's, including VxWorks.

	-Bill Randle
	Tektronix, Inc.
	billr@cna.tek.com