From: Smith, M. T <MSmith@SIKORSKY.COM> - 2003-04-04 18:53:44
|
Hello, I am new at OS X development, coming from a strictly UNIX background. I have a simple program written in Tcl/Tk with a C++ backend which I use on my IRIX machine. Taking the program to Mac OS X has been mostly simple, but, I can't seem to get AquaTcl8.4.2 to load the .so file. when i try: <wish prompt> load ./logbook.so logbook I get a message about logbook.so is not a Mach-o library. The makefile is below. The weird thing is a friend's G4 with wish8.3 it worked fine. I am using 10.2.4, G4 1.25 dual Firewire800 with the 10.2.3 developer tools disk. Thanks Todd Smith CPP = CC -g -fno-common LD = CC -bundle -undefined suppress -flat_namespace ...SUFFIXES: ...SUFFIXES: .o .cpp ...cpp.o: ${CPP} ${IFLAGS} -c $< -o $*.o OBJS1 = aircraft.o airplane.o glider.o \ flight.o flight_g.o flight_a.o \ logbook.o default: logbook.so logbook.so: ${OBJS1} logbook_tcl.o ${LD} -o logbook.so logbook_tcl.o ${OBJS1} -lstdc++ -lm |