From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Lance Taylor To: jeffdb@goodnet.com Cc: gas2@cygnus.com Subject: Re: cygwin32 relocatable linking error? Date: Sat, 06 Jun 1998 10:40:00 -0000 Message-id: <199806061740.NAA20444@subrogation.cygnus.com> References: <3578bd4d.24745784@smtp.goodnet.com> X-SW-Source: 1998/msg00192.html 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