06-02-2005
Migrating perl code from 32 to 64 bit OS
Hello all,
I am migrating perl code from 32-bit Solaris 2.5 to 64-bit Solaris 9. On which part of code should I concentrate? And please suggest if there is any checklist for the same.
Thanks in advance,
Devesh.
10 More Discussions You Might Find Interesting
1. Programming
I want to create a 32 bit shared library. I am using following commands
1. gcc -c test1.c
2. ld -b test1.o -o test1.sl
But this creates 64 bit shared library. Unix version of the server on which I am working is HP-UX 11.11 (1 Reply)
Discussion started by: amol.chavan
1 Replies
2. 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
3. UNIX for Advanced & Expert Users
Hi.
I need to migrate the whole unix environment from a Unix mp-ras 32 bit to a Linux Suse 64 bit.
1) can i use cpio to copy the data?
2) can i just copy the users from unix to linux or do i have to create them by hand
3) are there any other concerns i should worry about?
thanx (1 Reply)
Discussion started by: mrodrig
1 Replies
4. Shell Programming and Scripting
Q: Where to get a 64 bit Expat.so?
I run a perl script and got this error:
Can't load '/usr/perl5/vendor_perl/5.8.4/i86pc-solaris-64int/auto/XML/Parser/Expat/Expat.so' for module XML:parser::Expat: ld.so.1:myPerl: fatal:... (0 Replies)
Discussion started by: lilili07
0 Replies
5. Shell Programming and Scripting
In bash:
for i in 1 2 3 4 5
do
tmp_${i}=$i
echo $i
done
It gives error on executing tmp_1=1, and so on...
Why? If I executed this in prompt, not from script, it shouldn't make a subshell should it?
please use "code" tags! thanks... (2 Replies)
Discussion started by: StuartH
2 Replies
6. Shell Programming and Scripting
Hi ,
While executing perl scripts , sometimes cpu consumption is going to 100% and perl script is asking to abort.
In perl script , iam having some powershell commnands.
out of 10 times , 9 times script runs fine and 1 time its throwing the above error.
Iam using windows 2008 64 bit... (2 Replies)
Discussion started by: penchal_boddu
2 Replies
7. Shell Programming and Scripting
Hi,
Here is the issue. From the program snippet I have Base: 0x1800000000, Size: 0x3FFE7FFFFFFFF which are of 40 and 56 bits. SO I used use bignum to do the math but summing them up I always failed having correct result.
perl interpreter info,
perl, v5.8.8 built for... (0 Replies)
Discussion started by: rrd1986
0 Replies
8. UNIX for Dummies Questions & Answers
Hi,
To re-introduce myself, I'm a router guy trying to learn some scripting from the examples in my work place...
In a ksh script, one of the script guys wrote the following and I am trying to understand it. I'm hoping someone can explain it to me.
The script flow enters a case structure.... (5 Replies)
Discussion started by: Marc G
5 Replies
9. Programming
I found this block of C code to create combinations of A, T, C & G characters (DNA bases). Can anybody explain this code for me, especially with 1ULL<< and ?
16 for (x = 0; x < 1ULL << (2 * k); ++x)
17 {
18 for (i = 0, y = x; i < k; ++i, y >>= 2)
19 putchar ("ACGT");
20 }... (3 Replies)
Discussion started by: yifangt
3 Replies
10. Programming
Hello
I have built our application on AIX 7.1 as a 64 bit application.
My queries are as follows:
Can a 32bit gdb (v7.6) and ddd (data display debugger - v3.3.12), debug a 64bit executable ?
If I have a small 64bit a.exe executable that seems to work.
If I have a more complicated executable... (4 Replies)
Discussion started by: biju64
4 Replies
ibtl(7D) Devices ibtl(7D)
NAME
ibtl - Solaris InfiniBand Transport Layer
DESCRIPTION
InfiniBand (IB) is an I/O technology based on switched fabrics. The Solaris InfiniBand Transport Layer (IBTL) is a Solaris kernel misc mod-
ule and adheres to the IB Architecture Version 1.1 specification and provides a transport layer abstraction to IB client drivers.
IBTL implements the programming interfaces for the Solaris InfiniBand Transport Framework (IBTF), consisting of the IB Channel Interface
(CI) and the IB Transport Interface (TI).
The CI consists of Host Channel Adapters (HCAs) and HCA drivers. A host is attached to the IB fabric through the CI layer. The Solaris
InfiniBand CI is Sun's API rendering of the InfiniBand Architecture (IBTA) "verbs" specification.
The Solaris InfiniBand TI is the kernel service driver interface into the Solaris InfiniBand Transport Framework. It provides transport and
communications setup programming interfaces for Unreliable Datagram (UD) and Reliable Connected (RC) transport types only.
FILES
/kernel/misc/ibtl
32-bit x86 ELF kernel misc module
/kernel/misc/amd64/ibtl
64-bit x86 ELF kernel misc module
/kernel/misc/sparcv9/ibtl
64-bit SPARC ELF kernel module
ATTRIBUTES
See attributes(5) for a description of the following attribute:
+-----------------------------+-----------------------------+
|ATTRIBUTE TYPE |ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Consolidation Private |
+-----------------------------+-----------------------------+
|Availability |SUNWhea, SUNWib |
+-----------------------------+-----------------------------+
SEE ALSO
attributes(5), ib(7D), ibcm(7D), ibdm(7D)
InfiniBand Architecture Specification, Volume 1: Release 1.1
SunOS 5.10 9 Oct 2004 ibtl(7D)