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
From: jeffdbREMOVETHIS@goodnet.com (Mikey) Date: Sat, 06 Jun 1998 05:08:42 GMT 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. Are you sure? That does not happen when I try it. The ENTRY keyword does not change the symbol table at all, nor does it change which objects are included in the link. It only affects the setting of the entry point field in the internal a.out header. Ian