Chris Breemer writes:
> BTW Anybody know of a way to tell the linker to flag unresolved
> externals as an error ?
I wish.
> My makefiles trot on happily after linking a
> program with unresolveds - and generate lots of problems
> later on because of it. They're just stupid UNIX makefiles that do
> not know about runtime binding ;-)
This issue is a big problem when porting Unix autoconfigure scripts that
compile test programs to check for various external symbols and expect the
compile/link to fail in error if any symbols are unresolved.
The MPE workaround is to try executing your program after the compile/link; if
it fails to execute, you assume you have unresolved externals.
--
Mark Bixby E-mail: [log in to unmask]
Coast Community College Dist. Web: http://www.cccd.edu/~markb/
District Information Services 1370 Adams Ave, Costa Mesa, CA, USA 92626-5429
Technical Support Voice: +1 714 438-4647
"You can tune a file system, but you can't tune a fish." - tunefs(1M)