FreeBSD/PureBasic/FASM issues
Posted: Mon Oct 06, 2003 6:32 pm
I have FreeBSD 5.0 running on a notebook which (for reasons I won't bother you with) will remain FreeBSD. As I use this machine quite commonly, I thought it would be kinda cool to try PureBasic on it.
I have another machine running RedHat 9.0, and I had PureBasic on that one some time ago. I created a "Hello, world" executable and I still had that executable. So I ftp'd it to the FreeBSD box, made certain the Linux compatibility stuff was loaded, and ran the program and it worked wonderfully. It doesn't do much, but it does say "Hello, world."
So, I decided to try installing the PureBasic development system. I put all the files where they go and was able to use the "pbcompiler" command. However, fasm gives me this:
/usr/bin/fasm: Exec format error. Binary file not executable.
So I examined the file using "brandelf" and found it is a SVR4 (I think) header, which is the same as "pbcompiler." Just for kicks, I did a:
brandelf -t Linux fasm
but it didn't help.
Any ideas? Anyone else gotten the compiler/fasm to work on FreeBSD?
Thanks,
Phil
I have another machine running RedHat 9.0, and I had PureBasic on that one some time ago. I created a "Hello, world" executable and I still had that executable. So I ftp'd it to the FreeBSD box, made certain the Linux compatibility stuff was loaded, and ran the program and it worked wonderfully. It doesn't do much, but it does say "Hello, world."
So, I decided to try installing the PureBasic development system. I put all the files where they go and was able to use the "pbcompiler" command. However, fasm gives me this:
/usr/bin/fasm: Exec format error. Binary file not executable.
So I examined the file using "brandelf" and found it is a SVR4 (I think) header, which is the same as "pbcompiler." Just for kicks, I did a:
brandelf -t Linux fasm
but it didn't help.
Any ideas? Anyone else gotten the compiler/fasm to work on FreeBSD?
Thanks,
Phil