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


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

cygwin32 relocatable linking error?


shouldn't pe.sc have
${RELOCATING+ENTRY(_mainCRTStartup)}
?

instead of just 
ENTRY(_mainCRTStartup)

otherwise ld -r puts an undefined _mainCRTStartup in every
intermediate object file, which can mess up a final link
if you are using _WinMainCRTStartup(), _DllMainCRTStartup or some other
entry point.

=====================================================
Linux a platform built by, and for users, standing on
the firm legs of reliability, and speed.

Microsoft Windows, a platform without a leg to stand on.

(jeffdbREMOVETHIS@goodnet.com)
delete REMOVETHIS from the above to reply
         Mikey