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


Groups > comp.lang.c > #53813

Re: 64 bit porting issues

From Melzzzzz <mel@zzzzz.com>
Newsgroups comp.lang.c
Subject Re: 64 bit porting issues
Date 2014-12-03 20:59 +0100
Organization albasani.net
Message-ID <20141203205919.7ab9c9d3@maxa-pc> (permalink)
References <e308ac1d-0b8f-4a0c-ae98-c21368db1e8a@googlegroups.com> <HKFfw.38231$kH7.35404@fx23.am4>

Show all headers | View raw


On Wed, 03 Dec 2014 15:11:34 +0000
BartC <bc@freeuk.com> wrote:

> 
> (The last big thread about 64-bit C compilers, prompted me to create
> my own 64-bit compiler (under Windows 64-bit), where I use 32-bit
> pointers (and it seems to work!) . C compilers can do that too, but I
> think they need special cooperation from the OS so might not be
> possible under Windows. I think the -mx32 switch is used for gcc, but
> it didn't seem to do anything.)
> 

It is Linux x32 ABI. Compiler need supporting libraries and also
kernel. 
"
The x32 ABI was merged into the Linux kernel for the 3.4 release with
support being added to the GNU C Library in version 2.16.
"
http://en.wikipedia.org/wiki/X32_ABI

Object file has specific format, too, so assemblers, linkers and
compilers have to support it.
Problem is that you have to recompile everything as x32 if you want
to link with something other than basic libs...

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

64 bit porting issues fir <profesor.fir@gmail.com> - 2014-12-03 06:54 -0800
  Re: 64 bit porting issues BartC <bc@freeuk.com> - 2014-12-03 15:11 +0000
    Re: 64 bit porting issues BGB <cr88192@hotmail.com> - 2014-12-03 09:45 -0600
    Re: 64 bit porting issues fir <profesor.fir@gmail.com> - 2014-12-03 11:37 -0800
      Re: 64 bit porting issues BartC <bc@freeuk.com> - 2014-12-03 20:56 +0000
        Re: 64 bit porting issues fir <profesor.fir@gmail.com> - 2014-12-03 13:28 -0800
    Re: 64 bit porting issues Melzzzzz <mel@zzzzz.com> - 2014-12-03 20:59 +0100
    Re: 64 bit porting issues David Brown <david.brown@hesbynett.no> - 2014-12-03 22:42 +0100
      Re: 64 bit porting issues BartC <bc@freeuk.com> - 2014-12-03 22:41 +0000
        Re: 64 bit porting issues BGB <cr88192@hotmail.com> - 2014-12-03 19:00 -0600
          Re: 64 bit porting issues fir <profesor.fir@gmail.com> - 2014-12-04 00:03 -0800
            Re: 64 bit porting issues fir <profesor.fir@gmail.com> - 2014-12-04 00:20 -0800
          Re: 64 bit porting issues BartC <bc@freeuk.com> - 2014-12-04 11:20 +0000
            Re: 64 bit porting issues BartC <bc@freeuk.com> - 2014-12-04 11:25 +0000
            Re: 64 bit porting issues BGB <cr88192@hotmail.com> - 2014-12-04 09:50 -0600
        Re: 64 bit porting issues David Brown <david.brown@hesbynett.no> - 2014-12-04 08:55 +0100
  Re: 64 bit porting issues Johann Klammer <klammerj@NOSPAM.a1.net> - 2014-12-03 23:35 +0100
    Re: 64 bit porting issues fir <profesor.fir@gmail.com> - 2014-12-03 14:42 -0800

csiph-web