This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: cross-compiling
- To: badrian at ss dot pub dot ro
- Subject: Re: cross-compiling
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Tue, 14 Mar 2000 22:26:13 +0100
- CC: gcc-help at gcc dot gnu dot org
- References: <004a01bf8dc2$3e83a550$3725558d@cs.pub.ro>
> When cross-compiling gcc , is it OK to provide an empty libgcc1.a that
> was created using the tools already existing on the host machine?
Since libgcc.a won't be used for *building* gcc (unless build!=host),
then yes, that is ok. I don't know what you mean by "empty", though -
if it does not have any functions, but the target relies on functions
in it, then the cross-compiler won't work (specifically, binaries
compiled with it won't link).
Regards,
Martin