ld

Doug Gwyn gwyn at smoke.BRL.MIL
Tue Jan 31 18:54:02 AEST 1989


In article <3505 at mipos3.intel.com> rajeevc at mipos2.intel.com (Rajeev Chandrasekhar) writes:
>When using ld to create an executable with only one object
>with no external calls, I get an segmentation fault.

Perhaps you forgot to perform the runtime startup actions correctly?
Basically if you're building code to run as a user process you should
use "cc" to link the code instead of trying to use "ld" directly.
That way all the environmental details will be taken care of automatically.



More information about the Comp.unix.wizards mailing list