On Saturday, December 14, 2002, at 01:26 PM, Carl Kreider wrote:
>
> Here is what I get:
>
> bash-2.05$ cat > foo.c
> #include <stdio.h>
> int main(int argc, char *argv[]) {
> printf("hello world\n");
> return(0);
> }
> ^D
> bash-2.05$ cc foo.c -o foo
> foo.c:1: header file 'stdio.h' not found
> cpp-precomp: warning: errors during smart preprocessing, retrying in
> basic mode
>
Check your environment paths...in tcsh, the default shell, that code
compiled perfectly fine. Your Bash environment might not be set up
right.
stdio.h is at ' /usr/include/stdio.h'
--
Unsupported OS X is sponsored by <http://lowendmac.com/>
Support Low End Mac <http://lowendmac.com/lists/support.html>
Unsupported OS X list info <http://lowendmac.com/lists/unsupported.html>
--> AOL users, remove "mailto:"
Send list messages to: <mailto:[EMAIL PROTECTED]>
To unsubscribe, email: <mailto:[EMAIL PROTECTED]>
For digest mode, email: <mailto:[EMAIL PROTECTED]>
Subscription questions: <mailto:[EMAIL PROTECTED]>
Archive <http://www.mail-archive.com/unsupportedosx%40mail.maclaunch.com/>
Using a Mac? Free email & more at Applelinks! http://www.applelinks.com