This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cross ld build problems


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




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