ISO: help porting C code to 64 bit linux platform



I've got a body of C code some of which has run on multiple platforms
and some of which has only run on Solaris, until recently. A developer
worked at getting the code to compile on 32 bit Linux redhat, and that
appears to be working.

Now I'm looking at the impact of moving to a 64 bit Linux platform.
This will be the first time I've ever worked on a 64 bit machine.

I don't think that, at this time, the code _has_ to be compiled as 64
bit ... at least, not right away.

What should I be aware of as I begin compiling code there? Are there
special flags I will need to use to build things as 32 bit? Should I
byte the bullet and do the 64 bit port now? And what are some good
references to read on this topic? I tried to read an article at
intel.com on porting linux apps to 64 bit intel architecture, but part
of the document is missing. I'm also reading the Jaeger article on
porting to 64-bit GNU/Linux Systems. I was just hoping to find as many
tips as possible. I'm looking at the challenge of 64k lines of library
without regression tests to verify that things are working properly...

.



Relevant Pages

  • Re: ISO: help porting C code to 64 bit linux platform
    ... worked at getting the code to compile on 32 bit Linux redhat, ... Now I'm looking at the impact of moving to a 64 bit Linux platform. ... intel.com on porting linux apps to 64 bit intel architecture, ... or something (off_t lseek (int FILEDES, off_t OFFSET, int WHENCE) for example). ...
    (comp.os.linux.development.apps)
  • Re: Video editing in Linux?
    ... >30ukp, and even then a typical winmodem was 25ukp, so the difference ... of course Linux may deal with this alot ... Most notably the IDE drivers way exceed that of VIA's. ... So i would need to compile them? ...
    (alt.linux)
  • Re: flowtable usable or not
    ... How long did they raped Linux to get it that way looking? ... well, right or wrong, that is then issue for whom likes to compile, we ... the user domain of FreeBSD is shrinking. ... almost composed of developers or insiders or programmers or lovers, ...
    (freebsd-stable)
  • Re: Paying developers to get features faster
    ... existing Open Source, ... This is true even with the Linux Kernel compile. ... >compile is atleast a lot better than a screen full of warning messages. ...
    (comp.os.linux.misc)
  • Re: Paying developers to get features faster
    ... existing Open Source, ... This is true even with the Linux Kernel compile. ... >compile is atleast a lot better than a screen full of warning messages. ...
    (comp.os.linux.development.system)