thanks for the assistance.
Tried adding io.h and this did not fix things.
Is this syntax inside "main" still valid?:
fd=open(d_file_nam, O_BINARY|O_CREAT);
if (fd <= 0)
{
printf("Could not create beam data outfile %s, exiting!\n", d_file_nam);
};
Also, what is the meaning of the compiler instruction you suggested in this case?
Frank