Mail Archives: djgpp/1998/04/26/04:56:15
On Thu, 23 Apr 1998, Nate Eldredge wrote:
> >Did anybody actually try this? I think that if the linker reports
> >unresolved externals, it leaves them zeroed. So, if the execution
> >thread never gets there, the program will run just fine (if it does get
> >there, it will crash).
>
> I may be confused here. Are we talking about DJGPP's stock `ld'?
Yes, I was talking about stock `ld'.
> For me
> (Binutils 2.7), if the linker reports an unresolved external when creating
> an executable, it halts the linking and does not actually create the
> executable. I browsed the docs and did not see any option to make it a
> warning instead and continue the link.
If the excutable is not created, obviously it cannot be run. But if
there's a way to force `ld' create it anyway (like `ld' from RSXNT
does), then I think it could be run provided the execution never gets
to the unresolved externals.
- Raw text -