16 May 2017, 13:03 | #281 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
|
16 May 2017, 15:55 | #282 | ||
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,200
|
When trying to cross compile LibOgg on a 64-bit Linux box, I ran into this in the configure script:
Quote:
Quote:
|
||
16 May 2017, 16:40 | #283 | |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
Quote:
Once ixemul.library is built working again, stdint.h will be included and no option is required. Maybe I'll add it to noixemul too... Many TODO's ... |
|
16 May 2017, 23:06 | #284 | |
Banned
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
|
Quote:
With old versions of GCC, -O1 generated code on the 68k was not very optimized and looked like it was generated for a debugger (unnecessary writes to variables in memory). Moving to -O2 fixed this and was greatly improved but with much more function inlining and loop unrolling that reduces code density (enlarges code). Function inlining is especially good for performance on the 68k with its stack arg AT&T ABI (one study showed 7% average integer performance gain). Your performance optimizations could allow for higher optimization levels if they also improve code density (not unusual on the 68k). I would be interested to know the stripped executable sizes of compiled benchmarks compared to the original GCC. The information could improve AROS by allowing for more performance optimizations if there is any significant amount of improvement in code density. Of course, in Toni's case, compiling for the 68020 would recover some space while improving performance as well. I wonder what percentage of AROS 68k users are using a 68000? |
|
16 May 2017, 23:33 | #285 | |
Registered User
Join Date: Aug 2007
Location: berlin/germany
Posts: 1,054
|
Quote:
maybe later this week, we can look into compiling a more optimized version. |
|
17 May 2017, 02:40 | #286 | |
Banned
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
|
Quote:
|
|
17 May 2017, 08:20 | #287 | |
Registered User
Join Date: Aug 2007
Location: berlin/germany
Posts: 1,054
|
Quote:
if you look at the commit history just these days toni had to move ata device from the primary into the secondary kickstart image as we started to have issues with the primary kickstart growing to an inadequate size. but i think he may explain it better if need be and we are moving offtopic here. if you have consideratiion about aros optimisations i have opened a thread ybout how to compile it here: http://eab.abime.net/showthread.php?...s+instructions |
|
17 May 2017, 15:29 | #288 | |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,200
|
Quote:
|
|
17 May 2017, 20:27 | #289 |
Registered User
Join Date: Feb 2017
Location: Denmark
Posts: 1,226
|
EDIT: Got it built using latest version.
Late to the party and trying to get it compiling on 32-bit cygwin on Windows 10 I'm getting an internal compiler error while compiling libstdc++. I can see a bit earlier in the thread that libstdc++ isn't supported yet, but that's only once everything's done right? I'll gladly go through the motions of reporting it properly, but I just want to check whether it's supposed to work at all? Can I disable building libstdc++ for now? (--help didn't seem to indicate any way to do so) Just in case I've attached a build log (contains multiple runs appended). Last edited by paraj; 19 May 2017 at 22:01. |
17 May 2017, 22:05 | #290 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
PUSH - a clean build went through and all my tests were ok. The current compiler (not linker) related issues are fixed (even -Os for poseidon.library)
If there are errors, check the existing issues or (re-)open one at github: https://github.com/bebbo/amigaos-cross-toolchain/issues Thank you all for your interest and support - especially to the one who donated me a fair amount. That is helping me to put more effort into the good old Amiga world. PS: Uh-Oh - found a bug^^ PPS: Ok - pushed also a fix for this. All good! Yes? No? Last edited by bebbo; 17 May 2017 at 23:32. |
17 May 2017, 22:58 | #291 | |
Registered User
Join Date: Aug 2007
Location: berlin/germany
Posts: 1,054
|
Quote:
all helloworld examples compiled with 6.2 work fine now under aros. |
|
17 May 2017, 23:25 | #292 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
|
18 May 2017, 00:28 | #293 |
Registered User
Join Date: Aug 2007
Location: berlin/germany
Posts: 1,054
|
errm, sorry, no offence meant.
have not even noticed, silly me. |
18 May 2017, 14:34 | #294 |
Registered User
Join Date: May 2011
Location: Cambridge
Posts: 682
|
This is totally awesome work! I'm going to try moving from my unmodified upstream GNU toolchain to this, the code quality seems much much better even for cases I don't care about the AmigaOS 3 compatibility.
I can see this being the new standard C compiler for Amiga (for those who cross-compile!). Oh, by the way I didn't see anyone mention yet that this now builds in 64-bit environments. No need for 32-bit compat libs or Docker container! |
21 May 2017, 12:48 | #295 |
Registered User
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 725
|
Minor tip for path handling. (linux targeted)
If you have a prior gcc like I do you probably have this in your .bashrc Code:
export PATH=$PATH:/usr/local/amiga/bin prepend the above line in your .bashrc with one line Code:
export ORIGPATH=$PATH export PATH=$PATH:/usr/local/amiga/bin Code:
amigaold () { export PATH=$ORIGPATH:/usr/local/amiga/bin } amiganew () { export PATH=$ORIGPATH:/home/alex/amiga/gcc6/bin } |
05 June 2017, 12:09 | #296 |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
I just released a new version with a new optimizer pass to (e)liminate redundant loads.
Again only little gain here and there, but overall I am quite content now. I'll add soon the last optimizer to use more auto increments. Then maybe improve some of my already built optimizers, then - I think - I'm done. How is my gcc-6 version working for you? |
05 June 2017, 23:40 | #297 | |
Registered User
Join Date: Mar 2016
Location: Australia
Posts: 882
|
Quote:
For people that didn't know I use bebbo's version for my game engine: [ Show youtube player ] |
|
06 June 2017, 09:24 | #298 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
|
I am still waiting for instructions how to use it to compile aros-m68k.
I'll even try to help if possible. I don't normally want to know nothing about compiling compilers or setting them up but in this case I think it will be worth the trouble It may make sense to compile arosbootstrap image with higher optimization level and only compile rom images with -Os. (I don't know how to do that) |
06 June 2017, 10:37 | #299 | |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
Quote:
The first hurdle is that the standard approach Code:
--target=m68k-amigaos Code:
--target=amiga-m68k /cheers PS: next hurdle is: do not use configure with a relative path - since readlink -f is not used... Last edited by bebbo; 06 June 2017 at 17:51. |
|
06 June 2017, 12:26 | #300 |
Registered User
Join Date: Aug 2007
Location: berlin/germany
Posts: 1,054
|
maybe we should open a separate thread to share experience about compiling aros with bebbos backend, in order not to derail this thread. i had my go at that but a bit hacky admittedly, trying to edit the target.cfg for the time being. i think we need coorinated common approach. perhaps kalamatee can advise us as he is responsible for the build system and has registered here already.
alternatively we can follow the subject on aros-dev ml. bebbo has already opened this topic there. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New GCC based dev toolchain for AmigaOS 3.x | cla | Coders. Releases | 8 | 24 December 2017 10:18 |
Issue with photon/xxxx WinUAE Toolchain | arpz | Coders. Asm / Hardware | 2 | 26 September 2015 22:33 |
New 68k gcc toolchain | arti | Coders. C/C++ | 17 | 31 July 2015 03:59 |
Hannibal's WinUAE Demo Toolchain 5 | Bobic | Amiga scene | 1 | 23 July 2015 21:04 |
From gcc to vbcc. | Cowcat | Coders. General | 9 | 06 June 2014 14:45 |
|
|