Re: make not recognising 64 bit (131 Views)
Reply
Regular Advisor
wayne_104
Posts: 144
Registered: ‎01-26-2005
Message 1 of 5 (131 Views)

make not recognising 64 bit

I have installed the GNU_C_C++ 4.4.3

compiler.

I am now running the ./configure for unixodbc

but it does not recognise that the system is 64 bit.

when - use CC=-m64 it comes up with an error.

checking for export-gcc... -m64
checking for C compiler default output file name...
configure: error: in `/home/software/UNIXODBC/unixODBC-2.3.0':
configure: error: C compiler cannot create executables
See `config.log' for more details.


why is this???
Please use plain text.
Honored Contributor
Patrick Wallek
Posts: 13,736
Registered: ‎06-21-2000
Message 2 of 5 (131 Views)

Re: make not recognising 64 bit

>>See `config.log' for more details.

What does the config.log show?
Please use plain text.
Honored Contributor
Steven Schweda
Posts: 9,079
Registered: ‎02-23-2005
Message 3 of 5 (131 Views)

Re: make not recognising 64 bit

> make not recognising 64 bit

It's not a "make" problem.

> when - use CC=-m64 it comes up with an
> error.

As usual, showing the actual command with its
actual output might be more helpful than a
vague description or interpretation.

"CC=-m64" seems unlikely to work, because
"-m64" is probably not a valid compiler
command. Perhaps something like
CC='gcc -m64'
?

But, depending on what else is in your "make"
file, changing "CC" may or may not do all
that's needed to get the right 64-bit options
where they're needed.
Please use plain text.
Regular Advisor
wayne_104
Posts: 144
Registered: ‎01-26-2005
Message 4 of 5 (131 Views)

Re: make not recognising 64 bit

./configure export CC='gcc -m64'
configure: WARNING: you should use --build, --host, --target
checking for a BSD-compatible install... libltdl/config/install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... libltdl/config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gawk... (cached) awk
checking for bison... no
checking for byacc... no
checking for style of include used by make... GNU
checking for export-gcc... gcc -m64
checking for C compiler default output file name...
configure: error: in `/home/software/UNIXODBC/unixODBC-2.3.0':
configure: error: C compiler cannot create executables
See `config.log' for more details.
Please use plain text.
Regular Advisor
wayne_104
Posts: 144
Registered: ‎01-26-2005
Message 5 of 5 (131 Views)

Re: make not recognising 64 bit

-milp32
-mlp64

Generate code for a 32-bit or 64-bit environment. The 32-bit environment sets
int, long and pointer to 32 bits. The 64-bit environment sets int to 32 bits and
long and pointer to 64 bits. These are HP-UX specific flags.
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation