Browsing this Thread:
1 Anonymous Users
Re: ZeroHero cross compilers |
||
|---|---|---|
Joined:
2008/3/17 0:28 Group:
Member Posts:
29
![]() |
@kas1e_ar
Yes, but the problem is finding Linux hosted crosscompilers...
Posted on: 2012/1/20 8:05
|
|
Transfer
|
||
Re: ZeroHero cross compilers |
||
|---|---|---|
|
Guest_
|
@amidog_aros
Ive just emailed you what I had, both gcc and binutils, to the address on your website. Let me know if it's not your current address.
Posted on: 2012/1/20 9:05
|
|
Transfer
|
||
Re: ZeroHero cross compilers |
||
|---|---|---|
Joined:
2008/11/15 15:27 Group:
Member Posts:
507
![]() |
It may be worthwhile to create a bounty for updating the AROS SDK target for real cross-compilers that are current (4.6.x) support all AROS target platforms (arm, m68k, i386, x86_64) If the dev wants to go beyond AROS to support morphos and os4 and amigaos 3.x, then all the better.
While the AROS build system makes a real cross compiler for the platform its on, it doesn't neatly install it "machine local" outside the build system as the SDK and its fake compiler did. The fake compiler didn't work for C++, so its not really suitable for general uses these days. With the interest in that obj-c framework support there's another reason for an update. App developers generally don't really want to touch the whole AROS metamake system build to work on their code, they'd rather just set CC=aros-i386-gcc in a shell or in their Makefile they can run directly from their linux shell or IDE app, find compile time errors and quickly move the binary over to a fixed test environment. I really don't recommend anyone go back to old GCCs which aren't being supported, since their code will break on other AROS platforms like linux-arm-hosted.
Posted on: 2012/1/20 9:56
|
|
Transfer
|
||
Re: ZeroHero cross compilers |
||
|---|---|---|
Joined:
2009/10/28 4:25 From Finland
Group:
Member Posts:
174
![]() |
@AmigaDog_AROS
OK here is more or less how I built my i386-aros crosscompiler on ubuntu linux: Quote:
Hope it helps.
Posted on: 2012/1/20 12:15
|
|
Transfer
|
||
Re: ZeroHero cross compilers |
||
|---|---|---|
Joined:
2008/3/17 0:28 Group:
Member Posts:
29
![]() |
@fishy_fis
Many thanks. Got it. Seems to be working. Hello World compiled atleast ![]()
Posted on: 2012/1/20 12:21
|
|
Transfer
|
||
Re: ZeroHero cross compilers |
||
|---|---|---|
Joined:
2008/3/17 0:28 Group:
Member Posts:
29
![]() |
@salass00
Thanks a lot! As soon as I've got FPSE itself sorted, I'll have a go at building an up-to-date GCC.
Posted on: 2012/1/20 12:22
|
|
Transfer
|
||
Re: ZeroHero cross compilers |
||
|---|---|---|
Joined:
2008/3/17 0:28 Group:
Member Posts:
29
![]() |
@salass00
Just trying to build the cross compiler(s). I get as far as building libstdc++-v3 which just give: checking for shl_load... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. when configuring... I don't need the C++ compiler right now, so I'll try with: --enable-languages=c and see how it goes...
Posted on: 2012/2/11 23:38
|
|
Transfer
|
||
Re: ZeroHero cross compilers |
||
|---|---|---|
Joined:
2009/10/28 4:25 From Finland
Group:
Member Posts:
174
![]() |
@AmiDog_AROS
Forgot to add you need --enable-languages=c,c++ when configuring gcc but apart from that the instructions should be correct as I just used them last week to build and install i386-aros-gcc on my laptop. Note that you need to get mpfr-2.4.2 as the latest mpfr version (3.x.x) isn't compatible.
Posted on: 2012/2/12 0:15
|
|
Transfer
|
||
Re: ZeroHero cross compilers |
||
|---|---|---|
Joined:
2008/3/17 0:28 Group:
Member Posts:
29
![]() |
@salass00
... make[2]: Leaving directory `/usr/local/build/gcc-4.5.2-aros/i386-aros/libssp' Checking multilib configuration for libiberty... mkdir -p -- i386-aros/libiberty ... checking for library containing strerror... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. Aaarg. If only people would drop that almost-never-works configure crap and use something which actually does work... I'm using latest stable debian BTW.
Posted on: 2012/2/12 0:31
|
|
Transfer
|
||
Re: ZeroHero cross compilers |
||
|---|---|---|
Joined:
2008/3/17 0:28 Group:
Member Posts:
29
![]() |
Aaargh, again. After it failed, I added --disable-libiberty and configured again. Now it built fine. I then configured once more, this time WITHOUT --disable-libiberty, and it configured and then built without any issues.
Posted on: 2012/2/12 1:31
|
|
Transfer
|
||
You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.


Transfer








