From: LLeweLLyn Reese <llewelly@lifesupport.shutdown.com>
To: "Edward Byard" <ed@edwardbyard.co.uk>
Cc: <gcc-help@gcc.gnu.org>
Subject: Re: gcc compile problem(s)
Date: Tue, 25 Mar 2003 08:30:00 -0000 [thread overview]
Message-ID: <x3u1dsl8m5.fsf@lifesupport.shutdown.com> (raw)
In-Reply-To: <000901c2f1f9$478a6c80$a912bd50@edwardby>
"Edward Byard" <ed@edwardbyard.co.uk> writes:
> Hello,
>
> I am experiencing problems when compiling under the version below, for the
> h8300:
>
> gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release),
> GNU CPP version cygnus-2.7.2-970404 (68k, Motorola syntax)
>
> First problem is that I get the following:
>
> *Initialization*:1: warning: `__SIZE_TYPE__' redefined
> *Initialization*:1: warning: `__PTRDIFF_TYPE__' redefined
>
> This I understand is caused by a mis-matching or out-of-date version of
> cpp - does anyone know where I can get (or can anyone send me?) the version
> for the compiler I am using?
> I know it's an old version but I cannot update yet.
I believe source tarballs for 2.91.66 and 2.7.2 are still available at
most gnu mirrors.
>
> My other problem is that I cannot compile more than 1 file at a time. My
> makefile is listed below:
>
> CC=h8300-hms-gcc
> LD=h8300-hms-ld
>
> script= linker.scr
> output= VER01
> lstd= lib/gcc-lib/h8300-hms/egcs-2.91.66
> FLAGS= -fno-inline -Wcast-align -Wcast-qual
> CFLAGS= -O -g -b -mh8300h -c -o $@ $<
>
> OBJECTS = cstart.o \
> gmdump.o \
>
> cstart.o : cstart.c
> $(CC) $(FLAGS) $(CFLAGS)
>
> gmdump.o : gmdump.c
> $(CC) $(FLAGS) $(CFLAGS)
>
> ---
>
> Now, this will ONLY compile the first file cstart.o, then exit. It seems to
> ignore following file(s), so I tried a pattern rule thus:
>
> #Pattern rule to generate an object file from a 'C' file
> %.o : %.c
> $(CC) $(FLAGS) $(CFLAGS)
>
> ...and this didn't work either:
> MAKE.EXE: *** No rule to make target `cstart.o',
>
> Does anyone have any ideas? I'd be most grateful to hear from you...
>
> Regards,
> Ed Byard
prev parent reply other threads:[~2003-03-24 22:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-24 12:51 Edward Byard
2003-03-25 8:30 ` LLeweLLyn Reese [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=x3u1dsl8m5.fsf@lifesupport.shutdown.com \
--to=llewelly@lifesupport.shutdown.com \
--cc=ed@edwardbyard.co.uk \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).