English Amiga Board


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

 
 
Thread Tools
Old 11 April 2018, 13:16   #801
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
Note for anyone trying to get the build to work from github.. a bunch of the upstream dependencies have changed and the build no longer works. I couldnt report the issue because the repo has been archived.. so you may end up wasting your time trying to get this to build.
plasmab is offline  
Old 11 April 2018, 13:19   #802
alpine9000
Registered User
 
Join Date: Mar 2016
Location: Australia
Posts: 881
Quote:
Originally Posted by plasmab View Post
Note for anyone trying to get the build to work from github.. a bunch of the upstream dependencies have changed and the build no longer works. I couldnt report the issue because the repo has been archived.. so you may end up wasting your time trying to get this to build.
Bebbo has switched to a makefile based approach. Use this project now: https://github.com/bebbo/amiga-gcc/
alpine9000 is offline  
Old 11 April 2018, 13:21   #803
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
Quote:
Originally Posted by alpine9000 View Post
Bebbo has switched to a makefile based approach. Use this project now: https://github.com/bebbo/amiga-gcc/
thanks
plasmab is offline  
Old 11 April 2018, 17:23   #804
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
Is it intentional that all the optional parts get their includes in different locations such that the compiler cant find them by default? It is also possible i screwed something up building it.
plasmab is offline  
Old 11 April 2018, 17:25   #805
bebbo
bye
 
Join Date: Jun 2016
Location: Some / Where
Posts: 680
Quote:
Originally Posted by plasmab View Post
Is it intentional that all the optional parts get their includes in different locations such that the compiler cant find them by default? It is also possible i screwed something up building it.
Hahaha, good point :-)

But usually it works somehow!
bebbo is offline  
Old 11 April 2018, 17:27   #806
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
Quote:
Originally Posted by bebbo View Post
Hahaha, good point :-)

But usually it works somehow!
I couldnt get it to pick up getopt.h .. any hints? Its in the list of headers installed but for some reason not getting picked up
plasmab is offline  
Old 11 April 2018, 17:28   #807
bebbo
bye
 
Join Date: Jun 2016
Location: Some / Where
Posts: 680
Quote:
Originally Posted by plasmab View Post
I couldnt get it to pick up getopt.h .. any hints? Its in the list of headers installed but for some reason not getting picked up
In this case you have to use -mcrt=clib2

-noixemul does not provide that file (yet).
bebbo is offline  
Old 11 April 2018, 17:32   #808
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
Quote:
Originally Posted by bebbo View Post
In this case you have to use -mcrt=clib2

-noixemul does not provide that file (yet).
Is there anywhere that documents this sort of thing? if not is it worth starting a wiki?
plasmab is offline  
Old 11 April 2018, 17:33   #809
Marlon_
AmigaDev.com
 
Marlon_'s Avatar
 
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
Doesn't github have wiki support for repositories? If so, that would probably be a good starting point! =)
Marlon_ is offline  
Old 11 April 2018, 17:37   #810
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
Quote:
Originally Posted by Marlon_ View Post
Doesn't github have wiki support for repositories? If so, that would probably be a good starting point! =)
It does. I've had success with the TF328.. people have been documenting.
plasmab is offline  
Old 11 April 2018, 17:38   #811
bebbo
bye
 
Join Date: Jun 2016
Location: Some / Where
Posts: 680
Quote:
Originally Posted by plasmab View Post
Is there anywhere that documents this sort of thing? if not is it worth starting a wiki?
Who would write into that wiki? /shrug
bebbo is offline  
Old 11 April 2018, 17:43   #812
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
Quote:
Originally Posted by bebbo View Post
Who would write into that wiki? /shrug
I'm not sure its the right way to do it. But i have found that Amiga C Development is really painful. Documentation is thin on the ground, every compiler distro does things slightly different. It seems to be the nature of the beast with AmigaOS. RISC OS is almost (but not quite) as painful.

Anything that could help is welcome... and this is no criticism of the work here.
plasmab is offline  
Old 11 April 2018, 18:07   #813
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
Anyways last question... is nanosleep available in this toolchain?
plasmab is offline  
Old 11 April 2018, 18:42   #814
bebbo
bye
 
Join Date: Jun 2016
Location: Some / Where
Posts: 680
Quote:
Originally Posted by plasmab View Post
Anyways last question... is nanosleep available in this toolchain?
Guess not yet.

Are you are compiling espeak-amiga?
bebbo is offline  
Old 11 April 2018, 18:48   #815
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
Quote:
Originally Posted by bebbo View Post
Guess not yet.

Are you are compiling espeak-amiga?


No. Flashrom. Got it compiling now. I swapped nanosleep for Usleep
plasmab is offline  
Old 12 April 2018, 12:06   #816
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
Got everything I need now. Just ended up needing to ask questions rather than look stuff up is all.
plasmab is offline  
Old 18 April 2018, 21:36   #817
bebbo
bye
 
Join Date: Jun 2016
Location: Some / Where
Posts: 680
Have a look into mattgodbolt's compiler explorer for amiga gcc:

http://franke.ms/cex/
bebbo is offline  
Old 18 April 2018, 22:02   #818
alpine9000
Registered User
 
Join Date: Mar 2016
Location: Australia
Posts: 881
Quote:
Originally Posted by bebbo View Post
Have a look into mattgodbolt's compiler explorer for amiga gcc:

http://franke.ms/cex/
Very cool!

I always wished we had 68k support with this!
alpine9000 is offline  
Old 18 April 2018, 23:56   #819
Marlon_
AmigaDev.com
 
Marlon_'s Avatar
 
Join Date: Mar 2016
Location: Stockholm, Sweden
Age: 35
Posts: 625
Quote:
Originally Posted by alpine9000 View Post
Very cool!

I always wished we had 68k support with this!
Me too! And finally we do!
Marlon_ is offline  
Old 28 April 2018, 10:53   #820
alkis
Registered User
 
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 719
is building of toolchain halted by ira erroring or is it just me?
alkis 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 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

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 10:54.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.15649 seconds with 14 queries