GP32 Ok - I Give Up Trying To Dev On Mac (help !)


hugofurst

Still Fresh
Joined
Apr 28, 2003
Messages
28
Greetings all-

ok, I give up trying to develop for the GP32 on Mac.

I have trolled mr. spivs site endlessly, "installing" gcc3.2.2_gp32_sdk.dmg
and begun to "understand"/mangle makefiles with the sad hope of actual
compile success

I am a semi-stinkin' noob, but here's the rub:
I was successful in installing & compiling on my windows shitbox using
http://www.thaworx.co.uk/ninja/devkitadv.rar

However, I'd much rather use my Mac (and OSX/Unix).

so, please - I am asking with sincereity & ultimate humbleness:

1. "Please list in expansive detail the steps to install everything needed to develop for the GP32 on the Macintosh (OS X 10.3.x)" Seriously - everything, every detail & pitfall

2. "Please post a helloworld or test program with appropriate Makefile for my Macintosh Dev environment - excessive commenting in the Makefile would be greatly appreciated"
Please keep it simple and comment rich.

Thanks in advance - I have tried to find this information on the web first - Not so much help.
I hope this will help other Mac noobs out there -
 
I also had those troubles a year ago. I successfully installed a GP32 development enviroment on my Mac with MacOSX 10.2 (last year). I can't remember much, but basically installing the Mr.Spiv devkit installer does it all right.

Configuring the makefile is a little bit different and complicated when you don't know what you're doing (like me). Take a peek on my page and download the slideshow.zip. This also includes the source and makefile. Propably this could help...

I'm sorry as I forgot most of the things I've learned last year when I installed the devkit.
 
ok - that helped a great deal -- however, still no dice

-------------------------

[powpowpowerbook:~/VMAC/minivmac-1.0.0.prj/gp32] johndago% make
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -MM MYOSGLUE.c GLOBGLUE.c ADDRSPAC.c MINEM68K.c PROGMAIN.c VIAEMDEV.c IWMEMDEV.c SCCEMDEV.c RTCEMDEV.c ROMEMDEV.c SCSIEMDV.c SONYEMDV.c SNDEMDEV.c SCRNEMDV.c KBRDEMDV.c MOUSEMDV.c > .dep
--> Dependencies done ...
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c MYOSGLUE.c -o MYOSGLUE.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c GLOBGLUE.c -o GLOBGLUE.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c ADDRSPAC.c -o ADDRSPAC.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c MINEM68K.c -o MINEM68K.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c PROGMAIN.c -o PROGMAIN.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c VIAEMDEV.c -o VIAEMDEV.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c IWMEMDEV.c -o IWMEMDEV.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c SCCEMDEV.c -o SCCEMDEV.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c RTCEMDEV.c -o RTCEMDEV.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c ROMEMDEV.c -o ROMEMDEV.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c SCSIEMDV.c -o SCSIEMDV.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c SONYEMDV.c -o SONYEMDV.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c SNDEMDEV.c -o SNDEMDEV.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c SCRNEMDV.c -o SCRNEMDV.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c KBRDEMDV.c -o KBRDEMDV.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c MOUSEMDV.c -o MOUSEMDV.o
/usr/share/gcc/bin/arm-elf-gcc -o minivmac MYOSGLUE.o GLOBGLUE.o ADDRSPAC.o MINEM68K.o PROGMAIN.o VIAEMDEV.o IWMEMDEV.o SCCEMDEV.o RTCEMDEV.o ROMEMDEV.o SCSIEMDV.o SONYEMDV.o SNDEMDEV.o SCRNEMDV.o KBRDEMDV.o MOUSEMDV.o -T lnkscript -Wl,-Map,minivmac.map -L/usr/share/gcc/lib -lgpstdlib -lgpos -lgpstdio -lgpmem -lgpgraphic -lgpfont -lgpsound
/usr/share/gcc/bin/../lib/gcc-lib/arm-elf/3.2.2/../../../../arm-elf/lib/crt0.o: In function `CopyZIData':
/usr/share/gcc/bin/../lib/gcc-lib/arm-elf/3.2.2/../../../../arm-elf/lib/crt0.o(.text+0x244): undefined reference to `HEAPSTART'
/usr/share/gcc/bin/../lib/gcc-lib/arm-elf/3.2.2/../../../../arm-elf/lib/crt0.o(.text+0x248): undefined reference to `HEAPEND'
/usr/share/gcc/bin/../lib/gcc-lib/arm-elf/3.2.2/../../../../arm-elf/lib/crt0.o(.text+0x24c): undefined reference to `Main'
/usr/share/gcc/lib/libgpos.a(gpos_core.o): In function `GpKernelInitialize':
gpos_core.o(.text+0x194): undefined reference to `GpPredefinedStackGet'
gpos_core.o(.text+0x2b4): undefined reference to `GpMain'
/usr/share/gcc/lib/libgpos.a(gpos_user.o): In function `GpTimerSet':
gpos_user.o(.text+0x280): undefined reference to `GpPredefinedStackGet'
/usr/share/gcc/lib/libgpos.a(gpos_user.o): In function `GpNetThreadAct':
gpos_user.o(.text+0x45c): undefined reference to `GpPredefinedStackGet'
collect2: ld returned 1 exit status
make: *** [minivmac] Error

------- your makefile mod'd by me----------------------------------

#
# © 2001/2002 Jouni 'Mr.Spiv' Korhonen / Dead Coders Society
#
#

.PHONY: clean all dep dist bins cbins
.SUFFIXES:
.SUFFIXES: .cpp .o .h .s .c
.DEFAULT:
make all
#

BMPS = $(wildcard *.bmp)
BINS = $(addsuffix .bin, $(basename $(wildcard *.bmp)))
BOBJS = $(addsuffix .o, $(basename $(wildcard *.bmp)))
CBINS = $(addsuffix .c, $(basename $(wildcard *.bmp)))

SRCS = MYOSGLUE.c GLOBGLUE.c ADDRSPAC.c MINEM68K.c PROGMAIN.c VIAEMDEV.c IWMEMDEV.c SCCEMDEV.c RTCEMDEV.c ROMEMDEV.c SCSIEMDV.c SONYEMDV.c SNDEMDEV.c SCRNEMDV.c KBRDEMDV.c MOUSEMDV.c

ASRCS =

HDRS = MYOSGLUE.h GLOBGLUE.h ADDRSPAC.h MINEM68K.h PROGMAIN.h VIAEMDEV.h IWMEMDEV.h SCCEMDEV.h RTCEMDEV.h ROMEMDEV.h SCSIEMDV.h SONYEMDV.h SNDEMDEV.h SCRNEMDV.h KBRDEMDV.h DATE2SEC.h ENDIANAC.h MOUSEMDV.h PROSGLUE.h RTCEMDEV.h SCCEMDEV.h SYSDEPNS.h VIAEMDEV.h MCOSGLU.h WINOSGLU.h XWOSGLU.h gpmain.h


OBJS = MYOSGLUE.o GLOBGLUE.o ADDRSPAC.o MINEM68K.o PROGMAIN.o VIAEMDEV.o IWMEMDEV.o SCCEMDEV.o RTCEMDEV.o ROMEMDEV.o SCSIEMDV.o SONYEMDV.o SNDEMDEV.o SCRNEMDV.o KBRDEMDV.o MOUSEMDV.o

#OBJS = $(addsuffix .o, $(basename $(wildcard *.c)))

#

PROG = minivmac
GPPROGNAME = minivmac
GPPROGAUTHOR = hugofurst

GXB = $(PROG).gxb
FXE = $(PROG).fxe
GPDEV_DIR = /usr/share/gcc

#
#

BIN_DIR = $(GPDEV_DIR)/bin
INC_DIR = -I $(GPDEV_DIR)/include -I $(HOME)/work/usr/local/include
LOCAL_LIBDIR = -L$(GPDEV_DIR)/lib
LOCAL_LIBS = -lgpstdlib -lgpos -lgpstdio -lgpmem -lgpgraphic -lgpfont -lgpsound

CC = $(BIN_DIR)/arm-elf-gcc
AS = $(BIN_DIR)/arm-elf-as
OC = $(BIN_DIR)/arm-elf-objcopy
B2 = b2fxec
RM = rm -f
CP = cp
CLEAN = clean
DEPEND = .dep
WILD = *
#WRITER = /Volumes/Unlabeled/GPMM/
WRITER = /Volumes/transfer/cwilmanns/GPProjects/
DEPSTAT = "--> Dependencies done ..."
FINSTAT = "--> Make and Build | Deployment | Clean -> succeeded!"
#DEFINES = -DASM_ROTOZOOM -DADD_TWIST



LOCAL_CFLAGS = $(INC_DIR) -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork
LOCAL_LDFLAGS = -T lnkscript -Wl,-Map,$(PROG).map
LOCAL_AFLAGS =

#
#
#
# rules

all: $(DEPEND) $(PROG) $(CP) $(CLEAN)
@echo $(FINSTAT)


ifeq ($(DEPEND),$(wildcard $(DEPEND)))
include $(DEPEND)
endif

$(DEPEND): Makefile
$(CC) $(INC_DIR) -MM $(SRCS) > $(DEPEND)
@echo $(DEPSTAT)

%.o: %.cpp
$(CC) $(LOCAL_CFLAGS) $(DEFINES) -c $< -o $@

%.o: %.c
$(CC) $(LOCAL_CFLAGS) $(DEFINES) -c $< -o $@

%.o: %.s
$(AS) $(LOCAL_AFLAGS) $< -o $@

$(BOBJS):
for i in $(BMPS); do \
echo $$i; \
bmp2bin -r -1 $${i%%.bmp}.act $$i $${i%%.bmp}.bin; \
done

for i in $(BINS); do \
b2x -c -t "unsigned char" -n BK_$${i%%.bin} < $$i > $${i%%.bin}.c; \
done

$(CC) -c $(CBINS)

sin.o:
sinner -L sinTbl -l -a 256 -n 640 -t 512 sin.c
$(CC) -c sin.c


$(PROG): $(OBJS)
$(CC) -o $(PROG) $(OBJS) $(LOCAL_LDFLAGS) $(LOCAL_LIBDIR) $(LOCAL_LIBS)
$(OC) -O binary $(PROG) $(GXB)
$(B2) -t $(GPPROGNAME) -a $(GPPROGAUTHOR) $(GXB) $(FXE)

cp:
cp $(FXE) $(WRITER)
clean:
-$(RM) $(WILD).bin
-$(RM) $(WILD).map
-$(RM) $(WILD).o
-$(RM) $(WILD)~
-$(RM) $(PROG).tgz
-$(RM) $(DEPEND)
-$(RM) $(FXE)
-$(RM) $(GXB)
-$(RM) $(PROG)

dist:
tar zcvf $(PROG).tgz *.s *.c *.h *.bmp *.act lnkscript Makefile readme.txt
 
I set my sights pretty high: porting minivmac emulator to GP32
http://www.gryphel.com/c/minivmac/
Thanks again to Paul C. Pratt & Mr. Spiv & Nutribrain
I haven't given up yet. Am considering finding a less ambitious project, but till then -
closer still - waiting on a eureka - current results:


[powpowpowerbook:~/GP32/gp32] johndago% make
/usr/share/gcc/arm-elf/bin/gcc -I /usr/share/gcc/include -MM MYOSGLUE.c GLOBGLUE.c ADDRSPAC.c MINEM68K.c PROGMAIN.c VIAEMDEV.c IWMEMDEV.c SCCEMDEV.c RTCEMDEV.c ROMEMDEV.c SCSIEMDV.c SONYEMDV.c SNDEMDEV.c SCRNEMDV.c KBRDEMDV.c MOUSEMDV.c > .dep
Dependencies done
/usr/share/gcc/arm-elf/bin/gcc -O -I/usr/share/gcc/include -mtune=arm920 -c MYOSGLUE.c -o MYOSGLUE.o
/usr/share/gcc/arm-elf/bin/gcc -O -I/usr/share/gcc/include -mtune=arm920 -c GLOBGLUE.c -o GLOBGLUE.o
/usr/share/gcc/arm-elf/bin/gcc -O -I/usr/share/gcc/include -mtune=arm920 -c ADDRSPAC.c -o ADDRSPAC.o
/usr/share/gcc/arm-elf/bin/gcc -O -I/usr/share/gcc/include -mtune=arm920 -c MINEM68K.c -o MINEM68K.o
/usr/share/gcc/arm-elf/bin/gcc -O -I/usr/share/gcc/include -mtune=arm920 -c PROGMAIN.c -o PROGMAIN.o
/usr/share/gcc/arm-elf/bin/gcc -O -I/usr/share/gcc/include -mtune=arm920 -c VIAEMDEV.c -o VIAEMDEV.o
/usr/share/gcc/arm-elf/bin/gcc -O -I/usr/share/gcc/include -mtune=arm920 -c IWMEMDEV.c -o IWMEMDEV.o
/usr/share/gcc/arm-elf/bin/gcc -O -I/usr/share/gcc/include -mtune=arm920 -c SCCEMDEV.c -o SCCEMDEV.o
/usr/share/gcc/arm-elf/bin/gcc -O -I/usr/share/gcc/include -mtune=arm920 -c RTCEMDEV.c -o RTCEMDEV.o
/usr/share/gcc/arm-elf/bin/gcc -O -I/usr/share/gcc/include -mtune=arm920 -c ROMEMDEV.c -o ROMEMDEV.o
/usr/share/gcc/arm-elf/bin/gcc -O -I/usr/share/gcc/include -mtune=arm920 -c SCSIEMDV.c -o SCSIEMDV.o
/usr/share/gcc/arm-elf/bin/gcc -O -I/usr/share/gcc/include -mtune=arm920 -c SONYEMDV.c -o SONYEMDV.o
/usr/share/gcc/arm-elf/bin/gcc -O -I/usr/share/gcc/include -mtune=arm920 -c SNDEMDEV.c -o SNDEMDEV.o
/usr/share/gcc/arm-elf/bin/gcc -O -I/usr/share/gcc/include -mtune=arm920 -c SCRNEMDV.c -o SCRNEMDV.o
/usr/share/gcc/arm-elf/bin/gcc -O -I/usr/share/gcc/include -mtune=arm920 -c KBRDEMDV.c -o KBRDEMDV.o
/usr/share/gcc/arm-elf/bin/gcc -O -I/usr/share/gcc/include -mtune=arm920 -c MOUSEMDV.c -o MOUSEMDV.o
/usr/share/gcc/arm-elf/bin/gcc -o minivmac MYOSGLUE.o GLOBGLUE.o ADDRSPAC.o MINEM68K.o PROGMAIN.o VIAEMDEV.o IWMEMDEV.o SCCEMDEV.o RTCEMDEV.o ROMEMDEV.o SCSIEMDV.o SONYEMDV.o SNDEMDEV.o SCRNEMDV.o KBRDEMDV.o MOUSEMDV.o /usr/share/gcc/lib -lgpstdlib -lgpos -lgpgraphic -lgpstdio -lgpsound -lgpmem -lgpfont
/usr/share/gcc/lib: file not recognized: Operation not permitted
collect2: ld returned 1 exit status
make: *** [minivmac] Error 1


---- hack'd makefile follows -----


#
# &copy; 2001 Jouni 'Mr.Spiv' Korhonen / Dead Coders Society
#
#

.PHONY: clean all dep dist
.SUFFIXES:
.SUFFIXES: .c .o .h .s
.DEFAULT:
make all
#

SRCS = MYOSGLUE.c GLOBGLUE.c ADDRSPAC.c MINEM68K.c PROGMAIN.c VIAEMDEV.c IWMEMDEV.c SCCEMDEV.c RTCEMDEV.c ROMEMDEV.c SCSIEMDV.c SONYEMDV.c SNDEMDEV.c SCRNEMDV.c KBRDEMDV.c MOUSEMDV.c
ASRCS =

OBJS = MYOSGLUE.o GLOBGLUE.o ADDRSPAC.o MINEM68K.o PROGMAIN.o VIAEMDEV.o IWMEMDEV.o SCCEMDEV.o RTCEMDEV.o ROMEMDEV.o SCSIEMDV.o SONYEMDV.o SNDEMDEV.o SCRNEMDV.o KBRDEMDV.o MOUSEMDV.o
#

PROG = minivmac
GXB = $(PROG).gxb
FXE = $(PROG).fxe

#
# If you want to (of course you want to :) compile all source
# for Amiga using Amiga specific stuff then just uncomment the
# OS and CPU defines..
#

BIN = /usr/share/gcc/arm-elf/bin

CC = $(BIN)/gcc
AS = $(BIN)/as
OC = $(BIN)/../../bin/arm-elf-objcopy
B2 = $(BIN)/b2fxe
RM = rm -f
CP = cp
DEPEND = .dep
WILD = *
FOO = GP32 rules!
INC = /usr/share/gcc/include
LOCAL_LIBDIR = /usr/share/gcc/lib
LOCAL_LIBS = -lgpstdlib -lgpos -lgpgraphic -lgpstdio -lgpsound -lgpmem -lgpfont


LOCAL_CFLAGS = -O -I$(INC) -mtune=arm920
LOCAL_LDFLAGS =
#
#
#
#
# rules

all: $(DEPEND) $(PROG)
@echo $(FOO)


ifeq ($(DEPEND),$(wildcard $(DEPEND)))
include $(DEPEND)
endif

$(DEPEND): Makefile
$(CC) -I $(INC) -MM $(SRCS) > $(DEPEND)
@echo "Dependencies done"

%.o: %.c
$(CC) $(LOCAL_CFLAGS) -c $< -o $@

%.o: %.s
$(AS) $(LOCAL_AFLAGS) $< -o $@


$(PROG): $(OBJS)
$(CC) -o $(PROG) $(OBJS) $(LOCAL_LDFLAGS) $(LOCAL_LIBDIR) $(LOCAL_LIBS)
$(OC) -O binary $(PROG) $(GXB)
$(B2) $(GXB) $(FXE)

clean:
-$(RM) $(WILD).o
-$(RM) $(WILD)~
-$(RM) $(FXE).tgz
-$(RM) $(DEPEND)
-$(RM) $(FXE)
-$(RM) $(GXB)
-$(RM) $(PROG)

dist:
tar zcvf $(FXE).tgz *.c *.h Makefile readme.txt
 
closer - -

[powpowpowerbook:~/GP32/gp32] johndago% make
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -MM MYOSGLUE.c GLOBGLUE.c ADDRSPAC.c MINEM68K.c PROGMAIN.c VIAEMDEV.c IWMEMDEV.c SCCEMDEV.c RTCEMDEV.c ROMEMDEV.c SCSIEMDV.c SONYEMDV.c SNDEMDEV.c SCRNEMDV.c KBRDEMDV.c MOUSEMDV.c > .dep
--> Dependencies done ...
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c MYOSGLUE.c -o MYOSGLUE.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c GLOBGLUE.c -o GLOBGLUE.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c ADDRSPAC.c -o ADDRSPAC.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c MINEM68K.c -o MINEM68K.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c PROGMAIN.c -o PROGMAIN.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c VIAEMDEV.c -o VIAEMDEV.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c IWMEMDEV.c -o IWMEMDEV.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c SCCEMDEV.c -o SCCEMDEV.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c RTCEMDEV.c -o RTCEMDEV.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c ROMEMDEV.c -o ROMEMDEV.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c SCSIEMDV.c -o SCSIEMDV.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c SONYEMDV.c -o SONYEMDV.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c SNDEMDEV.c -o SNDEMDEV.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c SCRNEMDV.c -o SCRNEMDV.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c KBRDEMDV.c -o KBRDEMDV.o
/usr/share/gcc/bin/arm-elf-gcc -I /usr/share/gcc/include -I /Users/johndago/work/usr/local/include -mtune=arm920t -O2 -fomit-frame-pointer -finline-functions -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c MOUSEMDV.c -o MOUSEMDV.o
/usr/share/gcc/bin/arm-elf-gcc -o minivmac MYOSGLUE.o GLOBGLUE.o ADDRSPAC.o MINEM68K.o PROGMAIN.o VIAEMDEV.o IWMEMDEV.o SCCEMDEV.o RTCEMDEV.o ROMEMDEV.o SCSIEMDV.o SONYEMDV.o SNDEMDEV.o SCRNEMDV.o KBRDEMDV.o MOUSEMDV.o -T lnkscript -Wl,-Map,minivmac.map -L/usr/share/gcc/lib -lgpstdlib -lgpos -lgpstdio -lgpmem -lgpgraphic -lgpfont -lgpsound
/usr/share/gcc/lib/libgpos.a(gpos_core.o): In function `GpKernelInitialize':
gpos_core.o(.text+0x194): undefined reference to `GpPredefinedStackGet'
gpos_core.o(.text+0x2b4): undefined reference to `GpMain'
/usr/share/gcc/lib/libgpos.a(gpos_user.o): In function `GpTimerSet':
gpos_user.o(.text+0x280): undefined reference to `GpPredefinedStackGet'
/usr/share/gcc/lib/libgpos.a(gpos_user.o): In function `GpNetThreadAct':
gpos_user.o(.text+0x45c): undefined reference to `GpPredefinedStackGet'
collect2: ld returned 1 exit status
make: *** [minivmac] Error 1
 
you magnificent bastard ! that did it !!!
now to write the GP32 specific glue parts -

Remove the Stone of Shame and attach the Stone of Triumph!
 
Back
Top