64-bit Coding

don't use -fpic and -mcmodel together with version 10 compiler

Version 10 of the Intel compiler for Intel 64 Linux does not support the use of both -fpic and -mcmodel medium (or -mcmodel large) on the same command line.
  • Linux*
  • C/C++
  • Fortran
  • Intel® C++-Compiler
  • Intel® Fortran Compiler
  • 64-bit Coding
  • shared objects
  • -fpic
  • -mcmodel
  • ClosedSWDefect
  • All about 64-bit programming in one place

    In this post I've collected a lot of links on the topic of 64-bit C/C++ software development. These include my articles and articles by my colleagues in the sphere of developing safe and efficient 64-bit code; FAQ's and a training course. There are also many reviews of third-party articles on 64-bit software development. Enjoy yourself studying the materials.

    1. Articles:

    The reasons why 64-bit programs require more stack memory

    In forums, people often say that 64-bit versions of programs consume a larger amount of memory and stack. Saying so, they usually argue that the sizes of data have become twice larger. But this statement is unfounded since the size of most types (char, short, int, float) in the C/C++ language remains the same on 64-bit systems. Of course, for instance, the size of a pointer has increased but far not all the data in a program consist of pointers.

    64-bit Coding abonnieren