http://qs321.pair.com?node_id=20046


in reply to Translating Perl to C

First off, you don't want to redirect the output to fred, you want to specify it as the output file. Secondly, you can specify include directories on the command line with the -I flag. Try

cc -I/path/to/includes -o fred fred.c