English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   Coders. C/C++ (https://eab.abime.net/forumdisplay.php?f=118)
-   -   Req: gcc crosscompiler with amiga hunk support (https://eab.abime.net/showthread.php?t=88845)

emufan 01 October 2017 23:20

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?

Samurai_Crow 01 October 2017 23:56

Are you interested in Bebbo's GCC 6.3.1a cross compiler backend?

Sent from my Prism II using Tapatalk

emufan 02 October 2017 00:02

I have this one installed (6.2), just needs some updates and rebuilding.
it does build object files in amiga hunk format?

wawa 02 October 2017 00:35

Quote:

Originally Posted by emufan (Post 1189068)
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.

emufan 02 October 2017 01:03

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 02 October 2017 01:51

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



All times are GMT +2. The time now is 00:40.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.

Page generated in 0.04211 seconds with 11 queries