Compiling R8B under OS X

Sean Hinde earlyriser@REDACTED
Mon Nov 12 00:48:11 CET 2001


Hi,

I have made some little progress in compiling R8B on my G4 Mac.. 
changing the lines around 1712 of sys/unix/sys.c to read:

> /* Interface function available to driver writers */
> int driver_select(this_port, fd, mode, on)
> ErlDrvPort this_port;
> ErlDrvEvent fd;
> int mode, on;
> {

gets beam to compile, but I bomb out at:

> cc -g -O2 
> -I/Users/sean/Desktop/otp_src_R8B-0/erts/powerpc-apple-darwin1.4  
> -no-cpp-precomp  -Wall -O2 -DDEBUG_DIST -I. -DHAVE_CONFIG_H    
> -DUSE_DNS -DEPMD_PORT=4369 -c erl_malloc.c -o 
> /Users/sean/Desktop/otp_src_R8B-0/lib/erl_interface/obj/powerpc-apple-darwin1.
> 4/erl_malloc.o
> /var/tmp/ccIXdaaa.s:278:Expected comma after segment-name
> /var/tmp/ccIXdaaa.s:278:Rest of line ignored. 1st junk character valued 
> 46 (.).
> /var/tmp/ccIXdaaa.s:278:Spurious digit 0.
> /var/tmp/ccIXdaaa.s:278:Spurious digit 6.
> /var/tmp/ccIXdaaa.s:278:Rest of line ignored. 1st junk character valued 
> 57 (9).
> /var/tmp/ccIXdaaa.s:278:Junk character 40 (().
> /var/tmp/ccIXdaaa.s:278:Rest of line ignored. 1st junk character valued 
> 48 (0).
> make[4]: *** 
> [/Users/sean/Desktop/otp_src_R8B-0/lib/erl_interface/obj/powerpc-apple-darwin1.
> 4/erl_malloc.o] Error 1
> make[3]: *** [opt] Error 2
> make[2]: *** [opt] Error 2
> make[1]: *** [opt] Error 2
> make: *** [libs] Error 2

This is way too heavy for me!

Any suggestions anyone?

Sean




More information about the erlang-questions mailing list