Page 1 of 1

gcclib source for mac os x

PostPosted: Fri Jan 25, 2002 10:35 pm
by rollos
I've ported an app from (Redhat)Linux to Mac OS X, and gotten it to compile, but the linker complains about four undefined symbols: _getline, _fcloseall, _asprintf, _fmax
I assume these correspond to the gcc lib functions getline() etc.
Q: am I omitting a lib spec in my cc command? or what?
Q: Where can I get the source code for asprintf() (or for printf, for that matter)?