How to link without stdio

Richard A. O'Keefe ok at goanna.cs.rmit.oz.au
Wed Sep 26 16:11:56 AEST 1990


In article <1990Sep25.161300.29421 at phri.nyu.edu>, roy at alanine.phri.nyu.edu (Roy Smith) writes:
> To make sure I got all of them,
> what I'd like to do is force the linker to ignore any stdio routines in
> /lib/libc.a

The simplest thing is to use the "nm -u" command to find out which external
symbols each of your object files wants, and to look for the stdio function
and variable names among those symbols.  That will tell you which of your
files still refers to stdio.
-- 
Fixed in the next release.



More information about the Comp.lang.c mailing list