Re: more intel thanks wrong format exe

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

 



On Wed, Oct 9, 2024 at 9:13 AM Jim McNamara <jmcnamara10001@xxxxxxxxx> 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





[Index of Archives]     [Gcc Help]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Info]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux