[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: more intel thanks wrong format exe
From: |
Jeffrey Walton |
Subject: |
Re: more intel thanks wrong format exe |
Date: |
Wed, 9 Oct 2024 09:26:40 -0400 |
On Wed, Oct 9, 2024 at 9:13 AM Jim McNamara <jmcnamara10001@proton.me> wrote:
>
> > cd /usr/local/bin
> $> ls
> blob.cob blob.dll blob.exe cobc.exe cob-config cobcrun.exe cygcob-4.dll
> platinfo
> $> ./blob.exe
> bash: ./blob.exe: cannot execute binary file: Exec format error
> $> dos2unix blob.exe
> dos2unix: Binary symbol 0x00 found at line 1
> dos2unix: Skipping binary file blob.exe
I believe `dos2unix` is a text tool to convert end-of-lines between
Windows, Mac and Unix/Linux. It is the wrong tool for the job.
An exe is a PE or PE+ format. It is a binary format.
You should use the `file` command to determine the format of the file.
> Hi looks like i grabbed wrong source it ended in .tar.gz thought I was good
> to go?
>
> filename: gnucobol-3.2.tar.gz
Jeff