home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 2203 
 Oli to Flavio Bessa 
 [Crashmail] MacOS 64-bit binaries 
 08 Jun 21 08:49:15 
 
MSGID: 2:280/464.47 60bf20f6
REPLY: 4:801/188 60bed0ba
PID: JamNNTPd/Linux 1
CHRS: LATIN-1 2
TZUTC: 0100
TID: CrashMail II/Linux 1.7
Flavio wrote (2021-06-07):

 FB> On 07/06/21 17:58, Oli -> Flavio Bessa wrote:

 O>> Copy src/cmnllib/Makefile.linux to src/cmnllib/Makefile.osx, change
 O>> gcc to clang and try again.


 FB> Thank you, we are moving forward! :)

 FB> I was able to compile it under your instructions, however now
 FB> when I try to execute the binaries I am getting the following
 FB> error:

 FB> flbessa@FLBESSA-M-X6Q0 bin % ./toss
 FB> ./toss: line 6: 99822 Illegal instruction: 4  $BIN SETTINGS $CFG TOSS SCAN

 FB> If I try to manually issue the TOSS command I still get the same
 FB> error message:

 FB> flbessa@FLBESSA-M-X6Q0 sbin % ./crashmail SETTINGS
 FB> .../etc/crashmail.prefs TOSS zsh: illegal hardware instruction
 FB> ./crashmail SETTINGS ../etc/crashmail.prefs TOSS
 FB> flbessa@FLBESSA-M-X6Q0 sbin %

 FB> Looks like there's something else to be changed... i will look
 FB> into the compiler logs again.


I have no idea what causes this error and what it means exactly, but let's try
stuff, maybe we are lucky.

It looks like someone started to add OSX Makefiles to the crashmail repo, but
never finished the job. The only difference between 'make linux' and 'make
osx' seems to be the usage of clang instead of gcc as a compiler. I assume you
created a Makefile.osx in jamlib too.

First I would try to build chrashmail with gcc, it might just work:
make cleanlinux
make linux

Alternatively change gcc to clang in the src/oslib_linux/Makefile and try
make cleanlinux
make osx

---
 * Origin: . (2:280/464.47)
SEEN-BY: 1/123 14/0 90/1 105/81 120/340 123/131 124/5016 154/10 203/0
SEEN-BY: 221/0 226/30 227/114 702 229/101 424 426 452 700 1016 1017
SEEN-BY: 240/5411 5832 5853 249/206 317 280/464 5003 5555 282/1038
SEEN-BY: 292/8125 301/1 310/31 317/3 320/219 322/757 342/200 633/280
PATH: 280/464 240/5832 229/426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca