Hello Denis,

I have no Mac myself, but let me ask for understanding the problem.

> I downloaded and installed Picolisp 32 bits on mac os 10.6. Everything
> went all right. Then I tried to install the library for openGL and I had
> to modify the makefile to build a 32 bits lib.

I assume that you mean Jon Kleiser's library in "gl.tgz", right? This is
currently the only way to get openGl on pil32.

Another possibility might be running the pil64 emulator on the Mac.
Should be built automatically if you 'make' in the src64 directory. In
pil64 you can use "lib/openGl.l", but unfortunately the emulator is much
slower than native executables.

> **********
> DYNAMIC-LIB-FLAGS = -m32 -dynamiclib -undefined dynamic_lookup -framework 
> OpenGL -framework GLUT
> **********
> I do not believe the -framework OpenGL is required, but it may be cleaner
> **********
> c.o:
> gcc -c -O -m32 -pipe \
> -falign-functions -fomit-frame-pointer -fno-strict-aliasing \
> -W -Wimplicit -Wreturn-type -Wunused -Wformat \
> -Wuninitialized -Wstrict-prototypes \
> **********
> I had the -m32. I had the -fno-strict-aliasing, I do not know if it is
> required, but PicoLisp need it and there is some code in the pico.h file
> which is included.
> I am no makefile specialist. Adding -m32 will impact compilation on
> the other platforms. There may be better ways to fix it too. 
> The lib/gcc.l file may need a similar fix, but I have not try to use
> it. 
> The problem arises on 64 bits macs which support both kind of binaries
> : 64 seems to be the default.

So this is what I don't understand. What exactly is the problem?

♪♫ Alex
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to