[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to detect for wich SO is an .oct file?
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: How to detect for wich SO is an .oct file? |
Date: |
Tue, 29 Jun 2010 10:01:53 -0500 |
On 29 June 2010 04:25, veryhappy <address@hidden> wrote:
>
> I've some C++ functions compiled in .oct files. Those functions are supposed
> to work both on Linux and Windows.
> I would like to know if there's a way to detect if they were compiled for
> Windows or instead they were compiled for Linux so I can detect if the
> corresponding .oct won't work without recompiling it and if so,do it
file(1) should tell you if it's an ELF object (Linux) or if it's PE or
DLL (Windows)