English Amiga Board


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

 
 
Thread Tools
Old 01 October 2017, 23:20   #1
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
Req: gcc crosscompiler with amiga hunk support

have been looking at those geekgadget crosscompiler packages,
but cannot find the version which does write amiga hunk format.

===> gcc/g++ with amiga 68k hunk format output.

does anyone have that package. or a link?
emufan is offline  
Old 01 October 2017, 23:56   #2
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
Are you interested in Bebbo's GCC 6.3.1a cross compiler backend?

Sent from my Prism II using Tapatalk
Samurai_Crow is offline  
Old 02 October 2017, 00:02   #3
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
I have this one installed (6.2), just needs some updates and rebuilding.
it does build object files in amiga hunk format?
emufan is offline  
Old 02 October 2017, 00:35   #4
wawa
Registered User
 
Join Date: Aug 2007
Location: berlin/germany
Posts: 1,054
Quote:
Originally Posted by emufan View Post
it does build object files in amiga hunk format?

yes, optionally you could try aors toolchain and configure it for amiga-m68k toolchain. basically it produces elf, but you can convert it wth elf2hunk tool.

however id stick to bebbos one.
wawa is offline  
Old 02 October 2017, 01:03   #5
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
i'm currently building 6.3.1b - lets see if this does really build the amiga hunk type.

trouble with 6.x - it is to new. I need some older g++ 2.9 and 3.4 to compile some ancient source code.
but I only want the produced object files, which I hopefully may use to link with sas/c, maybe vlink if it does work.
emufan is offline  
Old 02 October 2017, 01:51   #6
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
just tested: Geek Gadgets Version 2 - Amiga Developers Environment - 1997

comes with gcc 2.7.2 m68k and ppc. no problem with the c++ source code,
but it does produce the gcc type of object files.
Code:
$ file 3D.o
3D.o: a.out SunOS mc68010 executable not stripped
but I need those - done with sas/c:
Code:
$ file fader.o
fader.o: AmigaOS object/library data
emufan 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
ELF Vs Hunk bloodline Coders. System 11 23 March 2017 16:32
Amiga Hunk HUNK_RELOC32 jeremysmith Coders. System 6 26 February 2016 13:50
Amiga Hunk Loadfile Format: HUNK_RELOC32 kiasanth Coders. System 3 25 June 2015 11:58
Amiga GCC Where to find it? _ThEcRoW request.Apps 10 02 March 2006 00:44
Amiga GCC Where can i find? _ThEcRoW request.Apps 1 22 October 2005 18:17

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 18:18.

Top

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