vatocleti wrote:
> Louis V. Lambrecht-3 wrote:
>
>> vatocleti wrote:
>>
>>> Hey all,
>>> I'm running OpenBSD 4.2/i386 and am booting bsd.mp. I have brought over
>>> a
>>> linux program that uses gcc as the compiler.
>>>
>>> I have installed the following sets:
>>>
>>> - gmake-3.80p1.tgz
>>> - gettext-0.14.6p0.tgz
>>> - libiconv-1.9.2p3.tgz
>>>
>>> and when I do a "gmake" I get the following two errors:
>>>
>>> - " /bin/gmake[1]: ELF: not found"
>>> - "/bin/gmake[365]: no closing quote
>>>
>>> any ideas?
>>>
>>> Thanks,
>>> v.
>>>
>>>
>>>
>> gmake != gcc != g++
>>
>>
>>
>>
> Hi,
> This worked for me on a different system running the amd64 image, but
> trying the same process with the same sets on a i386 (bsd.mp) image, I get
> the error...not sure why? If I have a linux app, should I be able to build
> with the native bsd make or do I need GNU (gmake)?
>
> thanks in advance.
>
We need more info:
- you list 3 applications you installed, to compile with gcc, but you
don't list gcc
- you have an error /bin/gmake[1]: ELF: not found line 1, the shabang.
on my system which gmake returns /usr/local/bin/gmake
- an error as "no closing quotes" can be what it means. It can be an
error of the author.
It can be caused by a Linuxism as using Ctrl+Enter to write a
non-breaking space.
Can be caused by a plain cp from one slice to the other without using
FTP or NFS
(which make the needed conversions as dos2unix ...)
List goes on. Can be a bug.
- have both systems you tried on the same toolchain?
What is a Linux app?
Portable sources should not have problems to compile with the proper
toolchain.