English Amiga Board


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

 
 
Thread Tools
Old 03 March 2022, 15:32   #1341
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,187
Do I see GCC 6.5.0b running in AmigaOS in that screenshot?
Samurai_Crow is offline  
Old 04 March 2022, 08:24   #1342
bebbo
bye
 
Join Date: Jun 2016
Location: Some / Where
Posts: 680
Quote:
Originally Posted by Samurai_Crow View Post
Do I see GCC 6.5.0b running in AmigaOS in that screenshot?

Your eyes didn't lie...
... and in WinUae you don't drown on coffee while waiting, but on a A1200...
/shrug


luckily no one else would try this on a real Amiga!
bebbo is offline  
Old 04 March 2022, 20:14   #1343
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,187
@bebbo Do you count an Apollo Vampire to be a "real Amiga"?
Samurai_Crow is offline  
Old 04 March 2022, 22:35   #1344
tolkien
AmigaMan
 
tolkien's Avatar
 
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 761
Or an Amiga with PiStorm!
tolkien is offline  
Old 04 March 2022, 23:17   #1345
cdh
Registered User
 
Join Date: Dec 2017
Location: Los Altos, CA, USA
Posts: 55
@bebbo, I think what @Samurai_Crow and @tolkien are hinting at is that we would all love to also see a modern native gcc for the Amiga!
cdh is offline  
Old 05 March 2022, 01:13   #1346
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,187
Agreed! How much RAM is needed?
Samurai_Crow is offline  
Old 05 March 2022, 17:24   #1347
bebbo
bye
 
Join Date: Jun 2016
Location: Some / Where
Posts: 680
Quote:
@bebbo Do you count an Apollo Vampire to be a "real Amiga"?
depends on your religion...

Quote:
Or an Amiga with PiStorm!
... next religion please...

Quote:
Originally Posted by Samurai_Crow View Post
Agreed! How much RAM is needed?
The compiler is a ~10MB executable, for a simple hello world 32MB did work.
Quote:
@bebbo, I think what @Samurai_Crow and @tolkien are hinting at is that we would all love to also see a modern native gcc for the Amiga!
Hm, maybe I'll never make a real release version, but I give you a taste:
https://franke.ms/download/amiga68.zip


1. unpack
2. add the ndk includes, e.g. built via amiga-gcc
3. assign GCC: to that folder
4. add GCC:bin to the path

Last edited by bebbo; 05 March 2022 at 19:10.
bebbo is offline  
Old 05 March 2022, 20:07   #1348
paraj
Registered User
 
paraj's Avatar
 
Join Date: Feb 2017
Location: Denmark
Posts: 1,107
Something good is clearly happening


Having a bit of difficulties getting it to work in WinUAE and with include files, but this is very cool. Even if you're cross-compiling being able to use the same compiler on the target is very helpful for small tweaks.

Keep up the good work!
Attached Thumbnails
Click image for larger version

Name:	gcc6_amiga.jpg
Views:	612
Size:	36.4 KB
ID:	74974  
paraj is offline  
Old 06 March 2022, 16:22   #1349
nogginthenog
Amigan
 
Join Date: Feb 2012
Location: London
Posts: 1,311
Could be worse. 19 seconds to build a hello world on my 68060 :-)
(14 if I disable mungwall.)

Last edited by nogginthenog; 06 March 2022 at 16:32. Reason: typo
nogginthenog is offline  
Old 09 March 2022, 06:37   #1350
boemann
Camilla, AmigaOS Dev.
 
Join Date: Mar 2020
Location: Frederiksberg
Posts: 328
Wow a modern gcc on a real amiga - a dream came true - and in this context i do consider vampire, pistorm and uae as real amigas.

Please make this a real release - we are a lot of people wishing for this
boemann is offline  
Old 13 March 2022, 06:03   #1351
nyteshade
Registered User
 
Join Date: Mar 2020
Location: Boulder Creek / USA
Posts: 43
Amazing. Cannot wait to try it. So much good.
nyteshade is offline  
Old 15 March 2022, 09:02   #1352
BSzili
old chunk of coal
 
BSzili's Avatar
 
Join Date: Nov 2011
Location: Hungary
Posts: 1,289
I was wondering, did you have a chance to try this? There's no need for AmigaOS 3.9, for me it's 100% reproducible in WinUAE with 3.1 ROMs, if I run the executable without startup-sequence from a mounted directory. Hardfiles seem to be OK, FAT32 CF cards have the same problem, so it might be file system specific.
BSzili is offline  
Old 17 March 2022, 07:20   #1353
BSzili
old chunk of coal
 
BSzili's Avatar
 
Join Date: Nov 2011
Location: Hungary
Posts: 1,289
I understand this is not a libnix issue, but it still crashes for me even after rebuilding everything from scratch. It prevents the stack swap from working for others as well, so I can't give up now. I'll keep working on finding a way to reproduce it on your side.
BSzili is offline  
Old 17 March 2022, 08:06   #1354
bebbo
bye
 
Join Date: Jun 2016
Location: Some / Where
Posts: 680
Quote:
Originally Posted by BSzili View Post
I understand this is not a libnix issue, but it still crashes for me even after rebuilding everything from scratch. It prevents the stack swap from working for others as well, so I can't give up now. I'll keep working on finding a way to reproduce it on your side.

So maybe it's better to drop that function from libnix.
bebbo is offline  
Old 17 March 2022, 08:22   #1355
BSzili
old chunk of coal
 
BSzili's Avatar
 
Join Date: Nov 2011
Location: Hungary
Posts: 1,289
Sorry, I didn't mean to imply that, you always fixed whatever I came up with. It's my fault for not being able to pinpoint this, but I believe I managed to do it now. I made a portable package with WinUAE, everything is self-contained. Just launch RunMe.bat and I'll load up the config and everything:

http://bszili.morphos.me/stuff/stacktest.zip

Last edited by BSzili; 18 March 2022 at 17:03. Reason: https to http
BSzili is offline  
Old 18 March 2022, 08:39   #1356
bebbo
bye
 
Join Date: Jun 2016
Location: Some / Where
Posts: 680
Quote:
Originally Posted by boemann View Post
Wow a modern gcc on a real amiga - a dream came true - and in this context i do consider vampire, pistorm and uae as real amigas.

Please make this a real release - we are a lot of people wishing for this

first, a clear statement from Hyperion regarding the NDK is needed, otherwise this cannot be built.
bebbo is offline  
Old 18 March 2022, 09:07   #1357
bubbob42
Registered User
 
Join Date: Oct 2012
Location: Germany
Posts: 585
Quote:
Originally Posted by bebbo View Post
first, a clear statement from Hyperion regarding the NDK is needed, otherwise this cannot be built.
Concerning what?
bubbob42 is offline  
Old 18 March 2022, 09:16   #1358
alkis
Registered User
 
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 719
Quote:
Originally Posted by BSzili View Post
Sorry, I didn't mean to imply that, you always fixed whatever I came up with. It's my fault for not being able to pinpoint this, but I believe I managed to do it now. I made a portable package with WinUAE, everything is self-contained. Just launch RunMe.bat and I'll load up the config and everything:

https://bszili.morphos.me/stuff/stacktest.zip
FYI, the link doesn't work. (At least it doesn't work for me)
alkis is offline  
Old 18 March 2022, 09:29   #1359
bebbo
bye
 
Join Date: Jun 2016
Location: Some / Where
Posts: 680
Quote:
Originally Posted by bubbob42 View Post
Concerning what?

redistribution.


a ready to use compiler should provide the necessary headers.
bebbo is offline  
Old 18 March 2022, 09:45   #1360
bubbob42
Registered User
 
Join Date: Oct 2012
Location: Germany
Posts: 585
Quote:
Originally Posted by bebbo View Post
a ready to use compiler should provide the necessary headers.
Or a script, which simply pulls the NDK from Aminet and installs it. The NDK is freely available, not dependant on Hyperion (which is important to us).

What you request was an absolute necessity in 1988, but not today. It is much better to always fetch the latest NDK release at installation or even update it easily for an existing installation of the compiler. This would fit with our plan to release incremental NDK updates instead of bigger ones every decade.

However, for this to work out it has be be ensured by all of us, that both your GCC's and the NDK's revision do not depend on each other, so users won't be left alone in case either product's development "stalls" for some time. An update of the compiler should not break the NDK and vice versa.
bubbob42 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 15:30.

Top

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