Linux program in FreeBSD
Posted
by Alex Farber
on Stack Overflow
See other posts from Stack Overflow
or by Alex Farber
Published on 2010-03-24T09:06:57Z
Indexed on
2010/03/24
9:13 UTC
Read the original article
Hit count: 299
Trying to run my program in FreeBSD OS, I have the following results:
$ ./myprogram ELF binary type "0" not known ./myprogram: 1: Syntax error: "&" unexpected (expecting ")") $ file myprogram myprogram: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped
The program is built In GCC on Ubuntu computer. What can I do? Can I build the program for FreeBSD on my Ubuntu computer by changing some build options, or I need to build it in FreeBSD OS? Maybe there is some way to convert executable to format recognized by FreeBSD?
© Stack Overflow or respective owner