Problem in C exec output

Hi All,

I have specific problem in one of our SUN-Customer at India,

He is a Banking Sector Unit customer , currently trying to migrate his SYBASE APT application running in SCO Unix running in Intel platform to Sun Solaris 10 OS with T2000 server-sparc platform.

Upon success, we will get purchase order for this sun server.

Challenge we faced,

SYBASE APT source code written in C is being compiled using SUN studio 11 C compiler and then executed for desired output.

While doing so , one of the module gets compiled but upon execution gives output file not more than 8k.

They are able to find any problem with source code as it get complies with few warning messages as all their module does.

Please help us to resolve this,

If needed will be able to provide u the source code and also the problem messages thrown as output.

Thanks everybody ,

Vadivelan

[931 byte] By [HelpCustomer] at [2007-11-26 9:45:11]
# 1

You could...

Hire someone to do the job.

Check that the source doesn't depend on how values are stored.

( little endian - big endian issue )

Check if gcc produces the same result ( then it is a code issue )

Review code or change platform to opteron based hardware.

Happy hacking.

Lars

Lars_V at 2007-7-7 0:48:27 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2

Program that was not initially written as platform-independent could suffer from a lot of differences between sparc and intel architectures and even different compilers. Architectural differences include endianess mentioned in previous post, alignment restrictions and tons of less noticeable stuff; compiler differences include memory layout algorithms (how structure fields are mapped to the memory), differences in optimization (try compiling without optimization first) and so on and so forth.

I'm not sure it would be possible to guess what exactly your problem is without digging deep into it...

MaximKartashev at 2007-7-7 0:48:27 > top of Java-index,Development Tools,Solaris and Linux Development Tools...