English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 601
Search took 0.05 seconds.
Search: Posts Made By: bebbo
Forum: Coders. C/C++ 13 May 2022, 08:10
Replies: 1,409
Views: 268,668
Posted By bebbo
simply add -v and have a look (I stripped all non...

simply add -v and have a look (I stripped all non objects/libs):

/opt/amiga/libexec/gcc/m68k-amigaos/6.5.0b/collect2 -o floattest /opt/amiga/m68k-amigaos/libnix/lib/ncrt0.o -lm floattest.o -(...
Forum: Coders. C/C++ 10 May 2022, 20:05
Replies: 1,409
Views: 268,668
Posted By bebbo
Find here updated binaries for gcc on AmigaOS:...

Find here updated binaries for gcc on AmigaOS: https://franke.ms/download/gcc68.lha

All these programs are compiled with
-Os -noixemul -m68040 -ffast-math -fomit-frame-pointer -resident32
and...
Forum: Coders. C/C++ 21 April 2022, 10:09
Replies: 1,409
Views: 268,668
Posted By bebbo
If your program only uses provided libraries,...

If your program only uses provided libraries, then there is no difference. You can compile it as usual.

There should be no difference if you aren't using -noixemul. But my automated tests cover...
Forum: Coders. C/C++ 20 April 2022, 21:49
Replies: 1,409
Views: 268,668
Posted By bebbo
I'm announcing an update of amiga-gcc which...

I'm announcing an update of amiga-gcc which affects the constructor/init handling and the module versions.

The constructor/init stuff is handled via so called 'stab' entries. The macros are still...
Forum: Coders. C/C++ 18 April 2022, 09:59
Replies: 1,409
Views: 268,668
Posted By bebbo
coming back to reasonable stack sizes: I found...

coming back to reasonable stack sizes: I found this nice snippet in the gcc code:

/* Parsing and gimplification sometimes need quite large stack.
Increase stack size limits if possible. ...
Forum: Coders. C/C++ 24 March 2022, 13:30
Replies: 1,409
Views: 268,668
Posted By bebbo
getopt_long is not yet present in libnix. =>...

getopt_long is not yet present in libnix.
=> add it as a separate .o file
=> contribute with a pull request

... I added getopt_long
Forum: Coders. C/C++ 23 March 2022, 17:02
Replies: 1,409
Views: 268,668
Posted By bebbo
https://fs-uae.net/docs/options :crying ...

https://fs-uae.net/docs/options :crying

uae_fpu_model = 68882
Forum: Coders. C/C++ 23 March 2022, 10:16
Replies: 1,409
Views: 268,668
Posted By bebbo
Well, to be fair: any number is a reasonable...

Well, to be fair: any number is a reasonable stack size. So this sounds reasonable.

that alert is my creation^^
try reading it again and again and again maybe you'll figure, what's missing:
...
Forum: Coders. C/C++ 23 March 2022, 08:10
Replies: 1,409
Views: 268,668
Posted By bebbo
Yet there is no recipe, it was random hacking,...

Yet there is no recipe, it was random hacking, editing this and that plus a tad of debugging to get that far. The changes - where I'm confident it will work -are already live, others aren't.
Forum: Coders. C/C++ 23 March 2022, 08:05
Replies: 1,409
Views: 268,668
Posted By bebbo
guess you haven't set a reasonable stack size...

guess you haven't set a reasonable stack size...
Forum: Coders. C/C++ 21 March 2022, 16:40
Replies: 1,409
Views: 268,668
Posted By bebbo
it still needs some patches to work with gcc...

it still needs some patches to work with gcc 6.5.0b
Forum: Coders. C/C++ 19 March 2022, 09:31
Replies: 1,409
Views: 268,668
Posted By bebbo
1st: It's not "my" gcc, gcc is open source, see...

1st:
It's not "my" gcc, gcc is open source, see http://www.gnu.org/licenses/. Everyone is welcome to contribute.

2nd:
The available NDKs aren't usable without applying this and that. It's pure...
Forum: Coders. C/C++ 18 March 2022, 09:29
Replies: 1,409
Views: 268,668
Posted By bebbo
redistribution. a ready to use compiler...

redistribution.


a ready to use compiler should provide the necessary headers.
Forum: Coders. C/C++ 18 March 2022, 08:39
Replies: 1,409
Views: 268,668
Posted By bebbo
first, a clear statement from Hyperion regarding...

first, a clear statement from Hyperion regarding the NDK is needed, otherwise this cannot be built.
Forum: News 17 March 2022, 20:53
Replies: 74
Views: 21,647
Posted By bebbo
could you do the developers a favor? ...

could you do the developers a favor?


Printf("%s", 0);


fails at the moment (it even kills WinUAE totally), an output like "<null>" instead of an unwanted visit from the guru would be nice.
...
Forum: Coders. C/C++ 17 March 2022, 08:06
Replies: 1,409
Views: 268,668
Posted By bebbo
So maybe it's better to drop that function from...

So maybe it's better to drop that function from libnix.
Forum: Coders. C/C++ 05 March 2022, 17:24
Replies: 1,409
Views: 268,668
Posted By bebbo
depends on your religion... ... next...

depends on your religion...


... next religion please...


The compiler is a ~10MB executable, for a simple hello world 32MB did work.

Hm, maybe I'll never make a real release version, but...
Forum: Coders. C/C++ 04 March 2022, 08:24
Replies: 1,409
Views: 268,668
Posted By bebbo
Your eyes didn't lie... ... and in WinUae you...

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!
Forum: Coders. C/C++ 03 March 2022, 15:10
Replies: 1,409
Views: 268,668
Posted By bebbo
random info...: ...

random info...:
https://franke.ms/amiga/amiga-gcc-on-amiga.png
Forum: Coders. C/C++ 01 March 2022, 16:10
Replies: 11
Views: 1,280
Posted By bebbo
oh, ok... projects/sfdc/sfdc...

oh, ok...


projects/sfdc/sfdc --target=m68kvbcc-amigaos --mode=macros x.sfd

#ifndef _INLINE_FOO_H
#define _INLINE_FOO_H

#ifndef _SFDC_VARARG_DEFINED
#define _SFDC_VARARG_DEFINED
Forum: Coders. C/C++ 01 March 2022, 11:55
Replies: 11
Views: 1,280
Posted By bebbo
Maybe you could switch to sfdc and provide sfd...

Maybe you could switch to sfdc and provide sfd files...


==base FooBase
==basetype struct Library *
==libname foo.library
==bias 42
==public

* Functions...
Forum: Coders. C/C++ 19 February 2022, 08:52
Replies: 4
Views: 1,094
Posted By bebbo
Roadshow provides socket.h headers which include...

Roadshow provides socket.h headers which include bsdsocket.h.


The SDK does not matter, at least for the resulting program. For the code there are some differences.
Forum: Coders. C/C++ 17 February 2022, 12:06
Replies: 19
Views: 1,935
Posted By bebbo
you need struct Library *MyLibBase; ...

you need


struct Library *MyLibBase;

in your code.
Forum: Coders. C/C++ 15 February 2022, 08:37
Replies: 1
Views: 1,084
Posted By bebbo
that's not enough information... ... what...

that's not enough information...

... what OS?
... what kind of eclipse project?
... content of the makefiles or maybe a zip of that hello world project...???
Forum: Coders. C/C++ 14 February 2022, 22:46
Replies: 1,409
Views: 268,668
Posted By bebbo
oh no :D if you are using -noixemul aka...

oh no :D


if you are using -noixemul aka -mcrt=nix20 or -mcrt=nix13, then libnix is used.
The default is newlib, which I wouldn't use, it's a place holder for ixemul in the far future
And there...
Forum: Coders. C/C++ 07 February 2022, 22:08
Replies: 1,409
Views: 268,668
Posted By bebbo
the libs for 68881 weren't build, which are...

the libs for 68881 weren't build, which are returning fp values in fp0...
I supplemented the missing combinations to the multilib info and with the correct version linked also the default (newlib)...
Forum: Coders. C/C++ 30 January 2022, 20:12
Replies: 36
Views: 3,969
Posted By bebbo
what compiler? if the function parameter is...

what compiler?

if the function parameter is a float, no conversion is needed.
Forum: Coders. C/C++ 30 January 2022, 20:08
Replies: 13
Views: 1,893
Posted By bebbo
that can be done. hm...

that can be done.






hm...
Forum: Coders. C/C++ 30 January 2022, 19:32
Replies: 13
Views: 1,893
Posted By bebbo
libnix supports the locale, which is not used per...

libnix supports the locale, which is not used per default, since that adds 2k size...



use `setlocale(LC_ALL, "");` or reference that function at least:


#include <locale.h>
void * __x =...
Forum: Coders. C/C++ 09 January 2022, 13:36
Replies: 1,409
Views: 268,668
Posted By bebbo
I rolled that change back a while ago and now I...

I rolled that change back a while ago and now I added another feature:





this is triggered for 68040/68060 if -ffast-math gets used.
Forum: Coders. C/C++ 09 January 2022, 13:31
Replies: 1,409
Views: 268,668
Posted By bebbo
I rolled that change back a while ago and now I...

I rolled that change back a while ago and now I added another feature:





this is triggered for 68040/68060 if -ffast-math gets used.
Forum: Coders. C/C++ 09 January 2022, 13:29
Replies: 36
Views: 3,969
Posted By bebbo
Well, unions are a good thing to do those...

Well, unions are a good thing to do those reinterpret casts. And they are safe for direct use:
set union members as needed

read union members as needed


It's the standard way in gcc and...
Forum: News 06 January 2022, 15:02
Replies: 74
Views: 21,647
Posted By bebbo
oh yes - thanks so much :spin

oh yes - thanks so much :spin
Forum: News 06 January 2022, 13:41
Replies: 74
Views: 21,647
Posted By bebbo
is execute broken? On a fresh installed...

is execute broken?

On a fresh installed WinUAE system:


1.Work:> version
Kickstart 47.102, Workbench 47.3
1.Work:> type s:test1
execute s:test2
1.Work:> type s:test2
Forum: Coders. C/C++ 05 January 2022, 10:17
Replies: 36
Views: 3,969
Posted By bebbo
What compiler yields different results for these?

What compiler yields different results for these?
Forum: Coders. C/C++ 05 December 2021, 20:16
Replies: 1,409
Views: 268,668
Posted By bebbo
fyi: exceptions and rtti should now work with...

fyi: exceptions and rtti should now work with 68000/68010.
Forum: Coders. C/C++ 02 December 2021, 11:51
Replies: 1,409
Views: 268,668
Posted By bebbo
done

done
Forum: Coders. C/C++ 27 November 2021, 18:18
Replies: 3
Views: 1,310
Posted By bebbo
AFAIK the meanings did not change. You...

AFAIK the meanings did not change.



You must not use __interrupt for the Amiga software interrupts. Why? Because __interrupt means the function uses rte to exit instead of rts.


__saveds...
Forum: Coders. C/C++ 27 November 2021, 17:44
Replies: 1,409
Views: 268,668
Posted By bebbo
I modified libnix to not use the AmigaOS...

I modified libnix to not use the AmigaOS SwapStack method...
... as for kick 1.3
Forum: Coders. C/C++ 21 November 2021, 10:10
Replies: 3
Views: 1,258
Posted By bebbo
the default inline calls for varargs to not...

the default inline calls for varargs to not support nesting.
=> add -DNO_INLINE_STDARG
e.g.


m68k-amigaos-gcc -noixemul -DNO_INLINE_STDARG -Os Buttons.c -o Buttons
Showing results 1 to 40 of 601

 
Forum Jump

All times are GMT +2. The time now is 05:29.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
Page generated in 0.10815 seconds with 10 queries