Mktemp instructions - why is "--with-libc" used?

Chris Staub chris at
Sun Nov 27 21:49:48 PST 2005

I know the book says that the switch causes mktemp to use functions from 
the system libc, but why exactly? Everywhere else in LFS whenever this 
is done the reason is given, like bash's "--without-bash-malloc" is 
stated in the book to be used because bash's internal functions are 
unstable. Why is "--with-libc" needed for mktemp?

More information about the lfs-dev mailing list