Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 161121
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T11:09:25+00:00 2026-05-11T11:09:25+00:00

I’ve migrated an Oracle database and Oracle HTTP server install from a 32-bit machine

  • 0

I’ve migrated an Oracle database and Oracle HTTP server install from a 32-bit machine to a 64-bit machine – both machines running Linux. Oracle Database is 64-bit, but the (Apache) HTTP server is 32-bit.

I use some non-Oracle DSOs (mod_ntlm for one) but whenever I run the standard ‘make install’ type thing I end up with a 64-bit module.

Is there a standard way to compile 32-bit Apache modules on a 64-bit machine?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T11:09:26+00:00Added an answer on May 11, 2026 at 11:09 am

    As an alternative to Andrew Medico’s answer, use ‘-m32‘ for 32-bit compilations and ‘-m64‘ for 64-bit compilations on PPC or SPARC or Intel machines – since you don’t actually mention which chip architecture you are using and that notation works on all of these.

    I often use:

    CC='gcc -m32' ./configure 

    to ensure a 32-bit compilation (or, more frequently, CC='gcc -m64' to ensure 64-bit compilation).


    Question: ‘Is CC an environment variable used by make?’

    Answer: Yes, though in this case, it is also recognized by configure, which is a shell script generated by autoconf. The notation I used – which is what I use at the command line – sets CC in the environment while the configure command is run. The other answer suggests using:

    ./configure CC='gcc -m32' 

    I assume that works and achieves much the same effect; I’ve not tried it so I don’t know that it works.

    If you run ./configure --help | less, you will see information (often just standard information) about how to use the script. And at the end, it will list (some of the) relevant environment variables, of which CC is one.

    The advantage of setting the C compiler to ‘gcc -m32’ is that the 32-bit flag is set every time the compiler is used – there is very little room for it to go wrong. If you set a flags variable (CFLAGS, etc), there is a chance that some command won’t use it, and then things can go awry.

    Also, going back to the question, make certainly uses a variable (macro) called CC. And you can set that on the make command line:

    make CC='gcc -m32' 

    That overrides any setting in the makefile. By contrast, using an environment variable, the setting in the makefile overrides the value in the environment, so setting CC as an environment variable is less helpful. Although make -e gives the environment precedence over the makefile, it is usually a dangerous option to use – it can have unexpected side-effects.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 95k
  • Answers 95k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You need to give them names when registering. The parameter… May 11, 2026 at 7:02 pm
  • Editorial Team
    Editorial Team added an answer The best way I see to accomplish this is by… May 11, 2026 at 7:02 pm
  • Editorial Team
    Editorial Team added an answer Here is the HTML, which should probably be inserted with… May 11, 2026 at 7:02 pm

Related Questions

I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I am currently running into a problem where an element is coming back from
Seemingly simple, but I cannot find anything relevant on the web. What is the
Configuring TinyMCE to allow for tags, based on a customer requirement. My config is
Is it possible to replace javascript w/ HTML if JavaScript is not enabled on

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.