www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1999/06/08/06:31:06

Sender: michon AT email DOT enst DOT fr
To: pgcc AT delorie DOT com
Subject: trouble compiling gcc as cross-compiler to m68k
MIME-Version: 1.0
From: Emmanuel Michon <emmanuel DOT michon AT polytechnique DOT org>
Date: 08 Jun 1999 12:30:33 +0200
Message-ID: <j2lk8tfnfw6.fsf@rocher.enst.fr>
Lines: 31
User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) Emacs/20.3
Reply-To: pgcc AT delorie DOT com

Hi,

there's a tool to compile programs for the USR Palm Pilot that
is essentially gcc used as a cross-compiler to produce m68k code.
It's called prc-tools-0.5.0.tar.gz, you can find it here:
http://elf.org/pilot/develop.html

This tool has a Makefile to patch and compile the following:

-r--r--r--   1 root     root      7134021 Mar 16 16:36 gcc-2.7.2.2.tar.gz
-r--r--r--   1 root     root      5996836 Mar 17 17:02 gdb-4.16.tar.gz
-r--r--r--   1 root     root      4480163 Mar 16 16:34 binutils-2.7.tar.gz

for the PalmPilot.

With pgcc-1.1.3-3mdk, from Linux Mandrake 6.0 (Venus), there are a lot
of failures, essentially due to bad macro use that did not happen
when compiling with gcc on an older distribution.

gcc -O2 -c -I. -I. -I../bfd -I./../bfd -I./../include  -g arsup.c
arsup.c:41: macro `strdup' used without args
make[3]: *** [arsup.o] Error 1
make[3]: Leaving directory `/home/michon/binutils-2.7/binutils'
make[2]: *** [all-binutils] Error 2
make[2]: Leaving directory `/home/michon/binutils-2.7'
make[1]: *** [stamp.binutils] Error 2
make[1]: Leaving directory `/home/michon/prc-tools-0.5.0'
make: *** [doeverything] Error 2

-- 
Emmanuel Michon (http://www.stud.enst.fr/~michon)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019