Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #4757 > unrolled thread

gcc-4.x.x and endianess

Started by"Bill Cunningham" <nospam@nspam.invalid>
First post2014-09-13 21:41 -0400
Last post2014-09-17 22:29 -0400
Articles 3 on this page of 23 — 8 participants

Back to article view | Back to comp.programming


Contents

  gcc-4.x.x and endianess "Bill Cunningham" <nospam@nspam.invalid> - 2014-09-13 21:41 -0400
    Re: gcc-4.x.x and endianess "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2014-09-14 09:14 +0200
      Re: gcc-4.x.x and endianess "Bill Cunningham" <nospam@nspam.invalid> - 2014-09-14 15:31 -0400
        Re: gcc-4.x.x and endianess "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2014-09-14 21:38 +0200
          Re: gcc-4.x.x and endianess Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-09-14 22:05 +0100
            Re: gcc-4.x.x and endianess "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2014-09-15 09:40 +0200
              Re: gcc-4.x.x and endianess Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-09-15 11:51 +0100
                Re: gcc-4.x.x and endianess "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2014-09-15 13:49 +0100
                Re: gcc-4.x.x and endianess "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2014-09-15 17:16 +0200
                  Re: gcc-4.x.x and endianess Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-09-15 22:23 +0100
                    Re: gcc-4.x.x and endianess "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2014-09-16 10:44 +0200
                  Re: gcc-4.x.x and endianess Kaz Kylheku <kaz@kylheku.com> - 2014-09-16 00:18 +0000
            Re: gcc-4.x.x and endianess BGB <cr88192@hotmail.com> - 2014-09-15 06:18 -0500
          Re: gcc-4.x.x and endianess "Bill Cunningham" <nospam@nspam.invalid> - 2014-09-15 14:23 -0400
            Re: gcc-4.x.x and endianess "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2014-09-15 21:08 +0200
              Re: gcc-4.x.x and endianess "Bill Cunningham" <nospam@nspam.invalid> - 2014-09-15 19:32 -0400
            Re: gcc-4.x.x and endianess Richard Heathfield <invalid@see.sig.invalid> - 2014-09-15 21:07 +0100
              Re: gcc-4.x.x and endianess "Bill Cunningham" <nospam@nspam.invalid> - 2014-09-15 21:48 -0400
    Re: gcc-4.x.x and endianess Jongware <jongware@no-spam.plz> - 2014-09-15 10:57 +0200
    Re: gcc-4.x.x and endianess "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2014-09-15 14:06 +0100
      Re: gcc-4.x.x and endianess "Bill Cunningham" <nospam@nspam.invalid> - 2014-09-15 21:50 -0400
        Re: gcc-4.x.x and endianess "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2014-09-17 09:54 +0100
          Re: gcc-4.x.x and endianess "Bill Cunningham" <nospam@nspam.invalid> - 2014-09-17 22:29 -0400

Page 2 of 2 — ← Prev page 1 [2]


#4787

From"Bill Cunningham" <nospam@nspam.invalid>
Date2014-09-15 21:50 -0400
Message-ID<lv850u$kgq$1@speranza.aioe.org>
In reply to#4774
"Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> wrote in message 
news:k9-dnWgbP_BLeIvJnZ2dnUVZ8iednZ2d@bt.com...
> Bill Cunningham wrote:
>>    I was wondering if anyone familiar with the gcc-4 series of GNU
>> compilers know if these compilers have any type of built in capability to
>> deal with endianess and MSB and LSB on various machines, and processors.
>
> What are you looking for over and above what:
>    http://www.gnu.org/software/libc/manual/html_node/Byte-Order.html
> (htons() and friends) gives you ?  htons() probably goes all the way back 
> to day 1.
>
> The compiler also has builtin near equivalents like:
>     __builtin_bswap32()
> which presumably are faster, but I don't know when they were added.
>
>    -- chris

    I know of the gnu.org page above. Unfortunately much of it is over my 
head so I thought I would sk those who know more.

Bill

[toc] | [prev] | [next] | [standalone]


#4791

From"Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org>
Date2014-09-17 09:54 +0100
Message-ID<auqdne867dIA0YTJnZ2dnUVZ7qkAAAAA@bt.com>
In reply to#4787
Bill Cunningham wrote:

>    I know of the gnu.org page above. Unfortunately much of it is over my
> head so I thought I would sk those who know more.

Has this thread resolved your confusions ?

    -- chris 

[toc] | [prev] | [next] | [standalone]


#4792

From"Bill Cunningham" <nospam@nspam.invalid>
Date2014-09-17 22:29 -0400
Message-ID<lvdg2a$b53$1@speranza.aioe.org>
In reply to#4791
"Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> wrote in message 
news:auqdne867dIA0YTJnZ2dnUVZ7qkAAAAA@bt.com...

> Has this thread resolved your confusions ?

    Not really. It was much talk about how bad C was. I will continue to 
search though. I just need to know the compiler better and I thought someone 
else might.

Bill

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | comp.programming


csiph-web