[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
> Date: Fri, 4 Jun 2004 11:34:45 +0200
> From: "Lars Viklund" <firstname.lastname@example.org>
> > > Have you included <unistd.h> ?
> > No, it is not included directly, but via some other files
> > Compiling for the i386 host it works as expected. Is it compulsory to
> > include directly for cris-etrax?
> No, it doesn't need to be included directly, but because of the CRIS
> calling conventions it is important that you do have a correct defintion
> of execlp() with ellipsis.
Correction: No, actually it *isn't* important, precisely due to
the permissive, yet optimal CRIS calling conventions.
For clarity: this is mentioned as an aside to the main issue.
You *should* still include unistd.h of course, if nothing else
than for portability reasons for other ABI's that are not
permissive with ellipsis functions.