freeride-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FR-devel] Re: OT: apple x11


From: Richard Kilmer
Subject: [FR-devel] Re: OT: apple x11
Date: Sun, 12 Jan 2003 19:39:19 -0500

All,

I think that FUJIMOTO has cracked this nut.

He placed a wiki page up here:

http://rwiki.jin.gr.jp/cgi-bin/rw- cgi.rb?cmd=view;name=FreeRIDE+on+X11+for+Mac+OS+X

Which did not look any different than my build except for one thing at the top of the wiki...he installed the .pkg files for jpeg, png, gif, tiff, etc. I was using the fink libraries. I uninstalled the fink libraries and installed these packages and viola...everything worked. All the FXRuby demos work including scintilla. I just spent a bit of time and got ripper built too. My goal is to get this over to the FreeRIDE wiki so folks can follow it. I also have a goal to do all my FreeRIDE development under OSX.

Thanks to all,

-rich

On Saturday, January 11, 2003, at 03:42  PM, FUJIMOTO Hisakuni wrote:

At Thu, 09 Jan 2003 09:38:08 -0600,
Lyle Johnson wrote:
OK. All of my testing so far has (I think) been on OS X 10.1.x systems,
so I wonder if something has been fixed for 10.2.

Though clear explanation is hard, I feel that RubyCocoa (what I am
developing) have become pretty stable on OS X 10.2 more than 10.1.

Could you please send me the Makefile that was generated for your FXRuby
build? It should still be in your "FXRuby-1.0.17/ext/fox" directory. I

It will be attached to this message.

cheers,
--
Hisa

SHELL = /bin/sh

#### Start of system configuration section. ####

srcdir = /Users/hisa/src/ruby/FXRuby-1.0.17/ext/fox
topdir = $(rubylibdir)/$(arch)
hdrdir = $(rubylibdir)/$(arch)
VPATH = $(srcdir)

CC = gcc

CFLAGS = -fno-common -g -Os -pipe -no-cpp-precomp -pipe -pipe -no-precomp -O0 -Iinclude -DWITH_FXSCINTILLA CPPFLAGS = -I. -I$(hdrdir) -I$(srcdir) -I$(prefix)/include -DHAVE_SYS_TIME_H -DHAVE_SIGNAL_H -I/usr/local/include/fxscintilla -I/usr/local/include/fox
CXXFLAGS = $(CFLAGS)
DLDFLAGS = -L/usr/local/lib -L/usr/X11R6/lib -L$(rubylibdir)/$(arch) -L$(exec_prefix)/lib
LDSHARED = cc -dynamic -bundle -undefined suppress -flat_namespace
LIBPATH =

RUBY_INSTALL_NAME = ruby
RUBY_SO_NAME =
arch = powerpc-darwin6.0
ruby_version = 1.6

prefix = $(DESTDIR)/usr
exec_prefix = $(prefix)
libdir = $(exec_prefix)/lib
rubylibdir = $(libdir)/ruby/$(ruby_version)
archdir = $(rubylibdir)/$(arch)
sitedir = $(prefix)/lib/ruby/site_ruby
sitelibdir = $(sitedir)/$(ruby_version)
sitearchdir = $(sitelibdir)/$(arch)
target_prefix =

#### End of system configuration section. ####

LOCAL_LIBS =
LIBS = $(LIBRUBY_A) -lfxscintilla -lFOX -lGLU -lGL -lX11 -lXext -ltiff -ljpeg -lz -lstdc++ OBJS = librb.o core_wrap.o dialogs_wrap.o FXRbApp.o FXRbDataTarget.o FXRuby.o icons_wrap.o image_wrap.o impl.o layout_wrap.o markfuncs.o mdi_wrap.o opengl_wrap.o scintilla_wrap.o ui_wrap.o

TARGET = fox
DLLIB = $(TARGET).bundle

RUBY = ruby
RM = $(RUBY) -rftools -e "File::rm_f(*ARGV.map{|x|Dir[x]}.flatten.uniq)"

EXEEXT =

all:            $(DLLIB)

clean:;         @$(RM) *.o *.so *.sl *.a $(DLLIB)
                @$(RM) $(TARGET).lib $(TARGET).exp $(TARGET).ilk *.pdb 
$(CLEANFILES)

distclean:      clean
                @$(RM) Makefile extconf.h conftest.* mkmf.log
                @$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)

realclean:      distclean

install:        $(archdir)$(target_prefix)/$(DLLIB)

site-install:   $(sitearchdir)$(target_prefix)/$(DLLIB)

$(archdir)$(target_prefix)/$(DLLIB): $(DLLIB)
@$(RUBY) -r ftools -e 'File::makedirs(*ARGV)' $(rubylibdir) $(archdir)$(target_prefix) @$(RUBY) -r ftools -e 'File::install(ARGV[0], ARGV[1], 0555, true)' $(DLLIB) $(archdir)$(target_prefix)/$(DLLIB)

$(sitearchdir)$(target_prefix)/$(DLLIB): $(DLLIB)
@$(RUBY) -r ftools -e 'File::makedirs(*ARGV)' $(sitearchdir)$(target_prefix) @$(RUBY) -r ftools -e 'File::install(ARGV[0], ARGV[1], 0555, true)' $(DLLIB) $(sitearchdir)$(target_prefix)/$(DLLIB)


..c.o:
        $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<

..cc.o:
        $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -o $@ $<
..cpp.o:
        $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -o $@ $<
..cxx.o:
        $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -o $@ $<
..C.o:
        $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -o $@ $<
$(DLLIB): $(OBJS)
        $(LDSHARED) $(DLDFLAGS) -o $(DLLIB) $(OBJS) $(LIBS) $(LOCAL_LIBS)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]