Damn, I was hoping I wasn't going to have to do that - Ideally there would
be a way to make the cygwin gcc compile agb stuff (ie, compile my own
devkit advance that can also compile ix86)
Anyway, I tried the below, and GCC gives:
arm-agb-elf-gcc: installation problem, cannot exec `cc1': No such file or
directory
As far as I know cc1 isn't even part of devkitadv, yes?
I'm using R4 by the way...
At 20:44 2003-03-31, you wrote:
>I have the same setup and solved it like this:
>
>I have this in a include file which I include in all my makefiles, which
>contains:
>
>DEVKITADV_DIR = $(GBADEV_DIR)/devkitadv
>
>CC = $(DEVKITADV_DIR)/bin/arm-agb-elf-gcc
>AS = $(DEVKITADV_DIR)/bin/arm-agb-elf-as
>AR = $(DEVKITADV_DIR)/bin/arm-agb-elf-ar
>LD = $(DEVKITADV_DIR)/bin/arm-agb-elf-ld
>CPP = $(DEVKITADV_DIR)/bin/arm-agb-elf-cpp
>OBJCOPY = $(DEVKITADV_DIR)/bin/arm-agb-elf-objcopy
>
>And then in the makefile I just do:
>
>include /gbadev/Makefile_win_gcc3.inc
>
>$(TARGET_BIN): $(TARGET_ELF)
> $(OBJCOPY) -v -O binary $< $@
>
>$(TARGET_ELF): $(.OFILES) $(LIBGCCDIR)/crtbegin.o $(LIBGCCDIR)/crtend.o
>Makefile data/libdata.a
> $(CC) -g -o $@ $(.OFILES) $(LIBGCCDIR)/crtbegin.o
>$(LIBGCCDIR)/crtend.o $(LDFLAGS)
>
>Offcourse this are just snippets, but you get the idea I hope
>
>HTH,
>Willem
>
>
>
>-----Original Message-----
>From: Greg Wogan-Browne [mailto:wogan@...]
>Sent: 31 March 2003 10:59
>To: gbadev@yahoogroups.com
>Subject: [gbadev] GCC ix86 & ARM Coexisting?
>
>
>
>Hi
>
>I've installed Cygwin, which includes GCC on my WinXP box, and have
>successfully used it to compile PC programs. I want to keep this state
>of
>affairs, but I also want to be able to compile AGB programs. Installing
>DevKitAdv means changing paths and other env vars which breaks my
>existing
>Cygwin install (as far as I know).
>
>Can anyone give me some hints on how to set this up gracefully so that
>they
>both co-exist with eachother nicely? Cygwin includes some GCC libraries
>for
>ARM-AGB-ELF, which leads me to think that there is a way of getting
>Cygwin's GCC to compile AGB programs.
>
>Any help or links to good documentation would be appreciated,
>
>Greg Wogan-Browne
>wogan @ iinet.net.au
>
>
>
>
>
>
>Your use of Yahoo! Groups is subject to
>http://docs.yahoo.com/info/terms/
>
>
>
>
>
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/