10-01-2007
1. Has the application run in any other 64 bit environment (UltraSparc, DEC-Alpha, PA-RISC2, Itanium2 etc)?
2. Does it *have* to be a 64 bit application? 32 bit apps will work with 64 bit kernel, if your program is not using >2gig of memory it's pointless being a 64 bit app.
3. Does it compile in 32 bit mode will *all* warnings on? If gcc, this would be "-Wall -Werror"?
4. Typical errors are:
a) not using socklen_t
b) incorrect printf style va_args
c) expecting an int to hold a pointer
d) va_args in general
5. Are all your dependent libraries available as 64 bit?
6. What errors are you getting?
9 More Discussions You Might Find Interesting
1. Programming
I need port Win32 console application, which was developed with MS Visual Studio 6.0 (without MFC using) into Linux. What is the best way to port project? Are there any standard tools or decisions?
Thank you in advance,
Sergey (0 Replies)
Discussion started by: Sergeyy
0 Replies
2. Gentoo
hi all,
i have a 64 bit linux machine.
$uname -a
Linux SVRDELLD30 2.6.9-42.ELsmp #1 SMP Tue Aug 15 10:35:26 BST 2006 x86_64 x86_64 x86_64 GNU/Linux
here by default gcc creates 64 bit executable. but for some reason i want to create 32bit executable.
first i want to create 32 bit object... (3 Replies)
Discussion started by: uttamhoode
3 Replies
3. Solaris
Hi,
I am trying to convert 32-bit code to 64-bit.
I have defined function
int main()
{
int* l;
size_t len1;
fun(len1);
return 0;
}
void fun(int* ptr)
{
cout<<"\nsizeof(ptr)"<<sizeof(ptr);
}
However while compiling getting error as :
Error: Formal argument ptr... (2 Replies)
Discussion started by: amit_27
2 Replies
4. Linux
Hi,
I am using 32 bit machine, and I want to compile 64 bit application on 32-bit machine.
So please tell me is it possible or not?
Regards
Mandar (7 Replies)
Discussion started by: Mandar123
7 Replies
5. Red Hat
I am just trying to get the warning while compiling for 64-bit on Linux
>>
uname -a
Linux mms4.es.cpth.ie 2.6.9-22.ELsmp #1 SMP Mon Sep 19 18:00:54 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux
===================================
Written test.c file which conatin :
#include<stdio.h>... (1 Reply)
Discussion started by: amit_27
1 Replies
6. SuSE
Dear All,
I am trying to build my code (currently functioning on 32bit) on 64 bit SUSE machine.
I am getting following error:
warning: initializer element is not computable at load time
dau.gss.c:275: error: initializer element is not constant
dau.gss.c:275: error: (near initialization for... (10 Replies)
Discussion started by: skaushal.schip
10 Replies
7. Red Hat
Hi,
I am new to Linux OS. My question is that "is it possible to install 32 Bit application on 64 Bit OS?"
I have the following Redhat OS on VMware workstation.
OS - Red Hat Enterprise Linux Server release 6.2 | 2.6.32-220.el6.x86_64
While installing the application I am getting the... (2 Replies)
Discussion started by: poga
2 Replies
8. Solaris
I don't expect any quick answers, but if people have links to resources I can investigate I'd be extremely appreciative. Here is what we have today:
The "application" is a multi-process train control system that uses the Unix desktop, currently CDE, several motif-based applications and sound,... (8 Replies)
Discussion started by: paz9
8 Replies
9. Windows & DOS: Issues & Discussions
Hello everyone.
I bought a dell laptop (XPS M1330) online which came without a hard drive. There is a Windows Vista Ultimate OEMAct sticker with product key at the bottom case. I checked dell website (here) for this model and it says this model supports both 32 and 64-bit version of Windows... (4 Replies)
Discussion started by: milhan
4 Replies
LEARN ABOUT SUNOS
atomic_clear_long_excl
atomic_bits(9F) atomic_bits(9F)
NAME
atomic_bits, atomic_set_long_excl, atomic_clear_long_excl - atomic set and clear bit operations
SYNOPSIS
#include <sys/atomic.h>
int atomic_set_long_excl(volatile ulong_t *target, uint_t bit);
int atomic_clear_long_excl(volatile ulong_t *target, uint_t bit);
The atomic_set_long_excl() and atomic_clear_long_excl() functions perform an exclusive atomic bit set or clear operation on target. The
value of bit specifies the number of the bit to be modified within target. Bits are numbered from zero to one less than the maximum number
of bits in a long. If the value of bit falls outside of this range, the result of the operation is undefined.
The atomic_set_long_excl() and atomic_clear_long_excl() functions return 0 if bit was successfully set or cleared. They return -1 if bit
was already set or cleared.
No errors are defined.
These functions can be called from user or interrupt context.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
atomic_add(9F), atomic_and(9F), atomic_cas(9F), atomic_dec(9F), atomic_inc(9F), atomic_or(9F), atomic_swap(9F), membar_ops(9F),
attributes(5), atomic_ops(3C)
13 May 2005 atomic_bits(9F)