Cross ld build problems
Nicholas Clifton
nickc@redhat.com
Wed Apr 2 14:22:00 GMT 2014
Hi Jon,
> I think the fix is to compile it as default-manifest-new.o but install
> it as default-manifest.o, though I'm not too familiar with the Makefile
> to do this.
The problem here is that if you are running a built but not installed
linker then it will fail to find the default manifest. Running an
uninstalled linker is not uncommon either - I do it all the time when
regression testing.
I am having second thoughts about using the linker as the agent to
install the default manifest however. IMHO it would be better if
gcc/libgcc did this - after all they already have the multilib mechanism
in place and they already build files like crt0.o and crtend.o. Why
not add default-manifest.o to the list ? The answer, as I understand
it, is that the Cygwin developers want the manifest added even if gcc
is not used to link the application. So maybe it is time to impose a
requirement to use gcc to link all Cygwin and Mingw binaries ?
Cheers
Nick
More information about the Binutils
mailing list