Modifications to make go32 build using new i386-go32-rtems toolset

and gcc 2.8.x -specs options.
This commit is contained in:
Joel Sherrill
1997-01-29 15:54:31 +00:00
parent cd912a09ae
commit aea06ed443
6 changed files with 21 additions and 12 deletions

View File

@@ -349,7 +349,8 @@ int get_errno()
#include <stdio.h>
#if !defined(RTEMS_UNIX) && !defined(__GO32__) && !defined(_AM29K)
/* #if !defined(RTEMS_UNIX) && !defined(__GO32__) && !defined(_AM29K) */
#if !defined(RTEMS_UNIX) && !defined(_AM29K)
void _exit(int status)
{
rtems_shutdown_executive(status);
@@ -376,14 +377,16 @@ pid_t __getpid(void)
}
#endif
#if !defined(RTEMS_POSIX_API) || defined(__GO32__)
/* #if !defined(RTEMS_POSIX_API) || defined(__GO32__) */
#if !defined(RTEMS_POSIX_API)
pid_t getpid(void)
{
return __getpid();
}
#endif
#if !defined(RTEMS_POSIX_API) || defined(__GO32__)
/* #if !defined(RTEMS_POSIX_API) || defined(__GO32__) */
#if !defined(RTEMS_POSIX_API)
int kill( pid_t pid, int sig )
{
return 0;

View File

@@ -1,4 +1,3 @@
#if !defined(RTEMS_NEWLIB) && !defined(RTEMS_UNIX)
/* no_libc.h
*
@@ -18,6 +17,7 @@
#include <rtems.h>
#if !defined(RTEMS_NEWLIB) && !defined(RTEMS_UNIX)
#include "libcsupport.h"
#include "internal.h"