English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. C/C++

 
 
Thread Tools
Old 11 January 2019, 02:22   #1021
NovaCoder
Registered User
NovaCoder's Avatar
 
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 3,559
Quote:
Originally Posted by bebbo View Post
For those interested in my recent versions, I am providing now


Both do contain some stuff not yet on github...


Does anyone know if these all in one downloads are kept up to date with GitHub?

Thanks
NovaCoder is offline  
Old 11 January 2019, 11:36   #1022
bebbo
Registered User

 
Join Date: Jun 2016
Location: Hamburg/Germany
Posts: 331
Quote:
Originally Posted by NovaCoder View Post
Does anyone know if these all in one downloads are kept up to date with GitHub?

Thanks
Linux and Windows versions are built daily.
bebbo is offline  
Old 11 January 2019, 12:00   #1023
NovaCoder
Registered User
NovaCoder's Avatar
 
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 3,559
Cool, thanks
NovaCoder is offline  
Old 14 January 2019, 00:39   #1024
bebbo
Registered User

 
Join Date: Jun 2016
Location: Hamburg/Germany
Posts: 331
Code:
m68k-amigaos-gcc version 6.5.0b 20190113225614 (GCC)
-flto should work now

PS:
Does this thread need a rename?
bebbo is offline  
Old 14 January 2019, 01:07   #1025
alpine9000
Registered User

 
Join Date: Mar 2016
Location: Australia
Posts: 630
Quote:
Originally Posted by bebbo View Post
Code:
m68k-amigaos-gcc version 6.5.0b 20190113225614 (GCC)
-flto should work now

PS:
Does this thread need a rename?
Niiiice!!!
alpine9000 is offline  
Old 14 January 2019, 07:58   #1026
Hewitson
Registered User
Hewitson's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 36
Posts: 2,735
Quote:
Originally Posted by bebbo View Post
Linux and Windows versions are built daily.
Still willing to help with the Mac port if needed.
Hewitson is offline  
Old 15 January 2019, 01:05   #1027
Marlon_
Amiga Programmer

Marlon_'s Avatar
 
Join Date: Mar 2016
Location: Sundsvall, Sweden
Age: 30
Posts: 529
@bebbo Any chance of getting libatomic included?

EDIT:
Managed to compile it from your gcc repo.

Last edited by Marlon_; 15 January 2019 at 01:35.
Marlon_ is offline  
Old 15 January 2019, 09:07   #1028
bebbo
Registered User

 
Join Date: Jun 2016
Location: Hamburg/Germany
Posts: 331
Quote:
Originally Posted by Marlon_ View Post
@bebbo Any chance of getting libatomic included?

EDIT:
Managed to compile it from your gcc repo.

libatomic is already in there
bebbo is offline  
Old 15 January 2019, 11:23   #1029
Marlon_
Amiga Programmer

Marlon_'s Avatar
 
Join Date: Mar 2016
Location: Sundsvall, Sweden
Age: 30
Posts: 529
Quote:
Originally Posted by bebbo View Post

libatomic is already in there
Huh? It was saying it was missing when I tried to compile something that required it. So I compiled it by myself... I recompiled the toolchain about a month ago.

EDIT:
Code:
$ find /opt/m68k-amigaos/m68k-amigaos/ |grep atomic
/opt/m68k-amigaos/m68k-amigaos/sys-include/stdatomic.h
Marlon_ is offline  
Old 15 January 2019, 11:43   #1030
bebbo
Registered User

 
Join Date: Jun 2016
Location: Hamburg/Germany
Posts: 331
Quote:
Originally Posted by Marlon_ View Post
Huh? It was saying it was missing when I tried to compile something that required it. So I compiled it by myself... I recompiled the toolchain about a month ago.

EDIT:
Code:
$ find /opt/m68k-amigaos/m68k-amigaos/ |grep atomic
/opt/m68k-amigaos/m68k-amigaos/sys-include/stdatomic.h
try
Code:
find /opt/m68k-amigaos/ |grep atomic
bebbo is offline  
Old 15 January 2019, 12:45   #1031
Marlon_
Amiga Programmer

Marlon_'s Avatar
 
Join Date: Mar 2016
Location: Sundsvall, Sweden
Age: 30
Posts: 529
Quote:
Originally Posted by bebbo View Post
try
Code:
find /opt/m68k-amigaos/ |grep atomic
Odd, it is there (besides the one I compiled). It wasn't working before, but now it just accepts -latomic. lol
Nevermind then.
Marlon_ is offline  
Old Today, 09:12   #1032
pipper
Registered User

 
Join Date: Jul 2017
Location: San Jose
Posts: 107
I got LTO working with ScummVM.

After a bit of digging I found a change that was surprisingly simple.
LTO with the gcc toolchain on Amiga currently does not deal with .a files.
As Bebbo suggested, we need to prevent ScummVM from building .a's and linking them into the executable. Instead link all individual .o files:
https://github.com/mheyer32/scummvm-...31ae49df5b1c1e
Maybe this helps others with their ScummVM ports as well.

The executable shrunk by almost 500kb. Not as much as I hoped for, but nevertheless a really good gain for 'just flicking a switch' :-)
It seems like it may even run faster, but that could be just placebo - I did not do measurements.

Thanks for all the good work, Bebbo!!
pipper is offline  
 


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 11:18
Issue with photon/xxxx WinUAE Toolchain arpz Coders. Asm / Hardware 2 26 September 2015 23:33
New 68k gcc toolchain arti Coders. C/C++ 17 31 July 2015 04:59
Hannibal's WinUAE Demo Toolchain 5 Bobic Amiga scene 1 23 July 2015 22:04
From gcc to vbcc. Cowcat Coders. General 9 06 June 2014 15:45

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 20:21.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Page generated in 0.08969 seconds with 16 queries