This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: porting gcc to tic54x
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: a2220333 <a2220333 at yahoo dot com dot tw>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 16 Dec 2007 09:54:21 -0500 (EST)
- Subject: Re: porting gcc to tic54x
- References: <984587.48623.qm@web73407.mail.tp2.yahoo.com>
On Wed, 12 Dec 2007, a2220333 wrote:
> hi,
> I have been porting tic54x to gcc. I use gcc-4.2.2 version. I write some simplest c54x.h and c54x.c and a empty md, and I
I think the answer is right there ^^^^^^^^^^
> compile it to generate the tic54x-gcc compiler.
>
> But when I execute the compiler I generate I got a segmentation fault error. Is there anything must be define in c54x.c or
> c54x.h that could make the simplest compiler with no correct output and no errors? Because I want to add functions from this
> basic port.
If that wasn't the bug, I suggest you start up gdb and step
through cc1, but I'd be surprised if you get anywhere without
the prerequisite move, add, and control flow insns in the .md.
brgds, H-P