[Bug 342667] Re: Can't compile for H8 tiny

tsm sbattazz at yahoo.co.jp
Tue Jun 16 11:53:43 UTC 2009


Kagetsuki,

I was able to build GCC for H8 from source in Ubuntu 8.10, and I used GCC 4.1.1 if I remember correctly.
When I upgraded to 8.10, GCC 4.3 was on the system by default, which gave me all sorts of issues when trying to build the 4.1, so as a kludgey workaround I installed GCC 4.1 from the Ubuntu repo and temporarily pointed bash at it so I could use it to build my cross compiler. 

I can't recall what versions of newlib I used right now because I'm on a
new machine, but I can let you know later if you're interested. It might
have been 1.16 or 1.17...

When I was first setting up my H8 environment, I had two issues that
were sort of independently causing the incompatible libgcc.a problem.

1. I first tried the version in the repo, which did not work at all
2. I had issues with my compile options, crt0.s and h8rom.x; basically, to compile for a tiny (3694F) I needed to have the -mn option in my compile command, and the tiny architecture specified in the support files... it took some poking around to figure this out. I don't think this applies to your 3069

It's a shame to hear that they're dropping the H8 target support, but on the other hand I don't see any problem with using an older version of GCC for chips like this as long as no new bugs pop up (knock on wood).
I might actually just try to stay away from H8 if I can get away with it :)

-- 
Can't compile for H8 tiny
https://bugs.launchpad.net/bugs/342667
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list