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


Groups > alt.os.linux.slackware > #25383

Re: newbie installation question

From JohnF <john@please.see.sig.for.email.com>
Newsgroups alt.os.linux.slackware
Subject Re: newbie installation question
Date 2015-08-20 05:35 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <mr3ovf$138$1@reader1.panix.com> (permalink)
References <55d2a01e$0$1652$742ec2ed@news.sonic.net> <mr0ou7$isk$1@reader1.panix.com> <Zz0Bx.7395$oj5.1631@fx03.iad>

Show all headers | View raw


Lew Pitcher <lew.pitcher@digitalfreehold.ca> wrote:
> On Tuesday August 18 2015 22:16, in alt.os.linux.slackware, "JohnF"
> <john@please.see.sig.for.email.com> wrote:
>> Michael Blanc <mblanc@sonic.net> wrote:
>>> Actually, two questions.
>>> <snipped first question>
>>> I wouldn't even be making an inquiry here except for this
>>> Second question: if my machine will in fact support 64-bit operation, then
>>> I want the gcc compiler to utilize a native integer of that size. Otherwise
>>> I am fine with the present installation.
>>> Advice?
> 
>> Try one of the gcc -switches like -m64, although that won't
>> quite do exactly what you're asking. Maybe one of the -mtune=CPU
>> switches (maybe not). If you're writing your own code, I'd try
>> explicitly using int64_t, or introduce your own typedef (or #define).
>> Or you could edit /usr/include/stdint.h which already has 32-bit
>> typedef's for int and unsigned int, and change them to 64-bit.
> 
> Nope. That's not going to help.
> 
>> But that last idea's probably not recommended.
> 
> Not recommended, because it won't help at all.
(and probably not recommended even if it would've helped)
> 
> The contents of system include files are not "switches that can be tweaked".
> Instead, they are "system constants". Changing the definition of <<uint32_t>
> in <stdint.h> won't change the compiler's understanding of the size of such
> an integer, but /will/ cause your program to incorrectly allocate the
> requisite space for such integers.

Thanks for the info; I hadn't realized that (probably mostly because
I'd never try such a thing myself, or I'd have already learned that
the hard way long ago).
-- 
John Forkosh  ( mailto:  j@f.com  where j=john and f=forkosh )

Back to alt.os.linux.slackware | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

newbie installation question  "Michael Blanc" <mblanc@sonic.net> - 2015-08-17 20:01 -0700
  Re: newbie installation question Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2015-08-18 05:27 +0000
    Re: newbie installation question "Michael Blanc" <mblanc@sonic.net> - 2015-08-18 04:54 -0700
      Re: newbie installation question Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2015-08-25 06:17 +0000
        Re: newbie installation question Ralph Spitzner <rasp@spitzner.org> - 2015-08-26 09:40 +0200
        Re: newbie installation question "Michael Blanc" <mblanc@sonic.net> - 2015-08-26 04:51 -0700
          Re: newbie installation question Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2015-08-26 18:18 +0000
        Re: Newsserver (was: newbie installation question) Chick Tower <c.tower@deadspam.com> - 2015-08-26 18:03 +0000
          Re: Newsserver (was: newbie installation question) Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2015-08-26 18:08 +0000
            Re: Newsserver (was: newbie installation question) Chick Tower <c.tower@deadspam.com> - 2015-08-28 02:23 +0000
              Re: Newsserver (was: newbie installation question) Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2015-08-28 05:34 +0000
  Re: newbie installation question JohnF <john@please.see.sig.for.email.com> - 2015-08-19 02:16 +0000
    Re: newbie installation question Rich <rich@example.invalid> - 2015-08-19 10:16 +0000
    Re: newbie installation question Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2015-08-19 10:40 -0400
      Re: newbie installation question JohnF <john@please.see.sig.for.email.com> - 2015-08-20 05:35 +0000

csiph-web