I have another Linux machine.
And I found the following messages:

$cd /usr/include

$ more endian.h
/* Copyright (C) 1992, 1996, 1997, 2000 Free Software Foundation, Inc.
   This file is part of the GNU C Library.
<snip>
/* This file defines `__BYTE_ORDER' for the particular machine.  */
#include <bits/endian.h>


$more byteswap.h
/* Copyright (C) 1997 Free Software Foundation, Inc.
   This file is part of the GNU C Library.
<snip>
/* Get the machine specific, optimized definitions.  */
#include <bits/byteswap.h>




-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian
Lance Taylor
Sent: Tuesday, July 05, 2005 4:29 AM
To: Sung-Gu
Cc: gcc@gcc.gnu.org
Subject: Re: byteswap.c and endian.c for gcc?


"Sung-Gu" <[EMAIL PROTECTED]> writes:

> I thought I might find a specfic directory in gcc sources whether it 
> supports the files. I don't want to compile the whole source files. :(

gcc is just the compiler.  Header files like byteswap.c and endian.c are part
of the system library.  gcc does not provide a system library.

I don't know where to find those header files for Solaris, but it is not here.

Ian

Reply via email to