Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 1996 10:45:50 -0600
From:      Nate Williams <nate@sri.MT.net>
To:        Michael Smith <msmith@atrad.adelaide.edu.au>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: DOS emulator; seek linker guru 8)
Message-ID:  <199604101645.KAA01583@rocky.sri.MT.net>
In-Reply-To: <199604101628.BAA24172@genesis.atrad.adelaide.edu.au>
References:  <199604101628.BAA24172@genesis.atrad.adelaide.edu.au>

next in thread | previous in thread | raw e-mail | index | archive | help
> The scenario is this :  most of the emulator code goes into a module
> called "doscmd.kernel".  This has a private crt0.o module, and its
> own main() function.  It's linked as :
> 
> doscmd.kernel: crt0.o ${OBJS}
> 	ld -N -T 110000 -o doscmd.kernel ${LDFLAGS} crt0.o ${OBJS} ${LDADD}

Try adding -Bstatic to the link line and see if that helps.  Since none
of the dynamic link code is used (it's normally in the system crt0.o
file), static linking should work.


Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604101645.KAA01583>