gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [open-cobol-list] OC compiled for 64 bit?


From: Michael Anderson
Subject: Re: [open-cobol-list] OC compiled for 64 bit?
Date: Mon, 01 Jul 2013 09:31:28 -0500
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130623 Thunderbird/17.0.7

I know this may not actually help with your problem, but.......
Maybe if your distro of Linux has a (yum/apt) software repo, this may help.

Since receiving your email,
I built 64-bit a virtual machine,
installed Ubuntu 13.04 64-bit on it,

Then:
sudo apt-get install open-cobol
Copied a source file from my 32-bit machine.
compiled that source file (reads and analyses a mail logfile.), more than just 'hello world'

I copied a mail logfile from my 32-bit machine,
the program compiled and ran without issues, not even a warning.

ls -l
-rw-rw-r-- 1 michael michael     7679 Jul  1 08:54 program.cob
-rwxrwxr-x 1 michael michael    24000 Jul  1 08:57 program

address@hidden:~$ file program
program: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0x4650fa75921751a0851d2d184ed7c21cfaccd288, not stripped

address@hidden:~$
address@hidden:~$ uname -a
Linux cloud64 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:16:28 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

address@hidden:~$ cobc -V
cobc (OpenCOBOL) 1.1.0
Copyright (C) 2001-2009 Keisuke Nishida / Roger While
Built    May 20 2012 08:14:24
Packaged Feb 06 2009 10:30:55 CET

address@hidden:~$



On 07/01/2013 07:14 AM, Vincent Coen wrote:

Hi;

 

Hoping someone can help me

 

I have compiled OC on my x64 Linux system but pretty sure it is not compiling as x64 nor the applications.

 

So I have a few questions I need solving:

 

1. How do you build OC for x64?

2. How do you build your apps for x64?

3. What issues will arise by doing 1 and 2, e.g.;

What data fields change in size causing file compatibility problems?

What other issues rear their ugly head?

 

On another note: Compiled some appl that write to the printer which is assigned as org line sequential and found it printing every other line, i.e., leaving a blank line after each line being printed and the solution was to remove the organisation sub-clause however this should NOT be required.

 

Anyone know why this is happening?

 

Vincent



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev


_______________________________________________
open-cobol-list mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/open-cobol-list


reply via email to

[Prev in Thread] Current Thread [Next in Thread]