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]

Re: cross-compiling


> 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


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