English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 429
Search took 0.04 seconds.
Search: Posts Made By: bebbo
Forum: Coders. C/C++ 20 November 2019, 10:35
Replies: 48
Views: 7,065
Posted By bebbo
for 'smaller' c++: - don't use...

for 'smaller' c++:


- don't use std::streams
- use -fno-exceptions -fno-rtti - unless you are really using excpetions/rtti
- use -flto
- move non-inlineable member functions into a...
Forum: Coders. C/C++ 19 November 2019, 10:53
Replies: 48
Views: 7,065
Posted By bebbo
Q1: I guess there is a WinUAE version containing...

Q1: I guess there is a WinUAE version containing a gdb server. I have no clue if my code would be helpful there.



Q2: I never tried it. I'm using Eclipse - it's working despite it needs a hack...
Forum: Coders. C/C++ 18 November 2019, 09:58
Replies: 48
Views: 7,065
Posted By bebbo
Woot! Someone is using it ;) ...

Woot! Someone is using it ;)








Since bgdbserver uses a TCP connection Forbid() will kill this too.
Forum: Coders. C/C++ 17 November 2019, 12:46
Replies: 8
Views: 252
Posted By bebbo
there are symbols: function names and symbols:...

there are symbols: function names
and symbols: debug information


despite the use of symbol for both it's different kind of information.


So it seems you are creating object files containing...
Forum: Coders. C/C++ 17 November 2019, 11:04
Replies: 8
Views: 252
Posted By bebbo
Just a side note:...

Just a side note: https://franke.ms/download/setup-amiga-gcc.exe is not compiled using cygwin - it uses msys2...
Forum: Coders. C/C++ 16 November 2019, 21:52
Replies: 8
Views: 252
Posted By bebbo
python and python-devel are both on the list of...

python and python-devel are both on the list of prerequisites.


=> Install all the listed packages rinse and repeat.
Forum: Coders. C/C++ 24 October 2019, 11:14
Replies: 1,191
Views: 132,905
Posted By bebbo
if you'd share your recipe, I'd look into it too.

if you'd share your recipe, I'd look into it too.
Forum: Coders. C/C++ 21 October 2019, 23:30
Replies: 29
Views: 1,278
Posted By bebbo
I agree, the setup is more complex. And you can...

I agree, the setup is more complex.
And you can automate the deployment and bgdbserver starting, as I with Eclipse.


a) run bgdbserver in a shared folder (shared from WinUAE and the PC). Do this...
Forum: Coders. C/C++ 21 October 2019, 22:49
Replies: 1,191
Views: 132,905
Posted By bebbo
maybe you can tell us a bit more - not only...

maybe you can tell us a bit more - not only fragments...
Forum: Coders. C/C++ 21 October 2019, 22:26
Replies: 29
Views: 1,278
Posted By bebbo
You can also source debug with my tool chain......

You can also source debug with my tool chain... -> use bgdbserver.
Plus you can debug a real Amiga.
Forum: Coders. C/C++ 21 October 2019, 15:15
Replies: 29
Views: 1,278
Posted By bebbo
I adapted tutorial 9 a bit - less allocations,...

I adapted tutorial 9 a bit - less allocations, more use of headers...

// Scoopex Tutorial 9 for Bebbo GCC 6.5.0b

#include <proto/exec.h>
#include <graphics/gfxbase.h>
#include...
Forum: Coders. C/C++ 12 October 2019, 23:52
Replies: 1,191
Views: 132,905
Posted By bebbo
please test

please test
Forum: Coders. C/C++ 12 October 2019, 22:52
Replies: 64
Views: 4,586
Posted By bebbo
you need a compiler/tool-chain which supports...

you need a compiler/tool-chain which supports different data segments with chip/fast attributes aka Amiga hunk files



With elf you have to use workarounds.
Forum: Coders. C/C++ 12 October 2019, 00:22
Replies: 1,191
Views: 132,905
Posted By bebbo
guess the last binutil merge discarded the...

guess the last binutil merge discarded the jsr->bsr optimization, or was it a gcc merge?


nm, I'll fix it

EDITH: build is running - should be live in ~1 hour.
Forum: Coders. C/C++ 11 October 2019, 21:27
Replies: 1,191
Views: 132,905
Posted By bebbo
hard to guess without more details - and yes...

hard to guess without more details - and yes there are changes in gcc too...


e.g. the support libs are now compiled with -O2 by default.



export CFLAGS_FOR_TARGET= -Os -fomit-frame-pointer...
Forum: Coders. Language 10 October 2019, 12:10
Replies: 11
Views: 3,317
Posted By bebbo
how should I know? ask there:...

how should I know?


ask there: https://github.com/redbrain/gccrs
Forum: Coders. Language 07 October 2019, 11:34
Replies: 11
Views: 3,317
Posted By bebbo
It's a different approach - another Jodeldiplom...

It's a different approach - another Jodeldiplom :crazy (https://en.wikipedia.org/wiki/Jodeldiplom)


In gcc the m68k architecture is available - it once was a main architecture...
In llvm there...
Forum: Coders. C/C++ 04 October 2019, 22:20
Replies: 9
Views: 584
Posted By bebbo
Yes that's true. Plus there is a bounty on...

Yes that's true. Plus there is a bounty on implementing it: https://www.bountysource.com/issues/80706251-m68k-convert-the-backend-to-mode_cc-so-it-can-be-kept-in-future-releases



On the other...
Forum: Coders. C/C++ 03 October 2019, 20:28
Replies: 9
Views: 584
Posted By bebbo
you know that there are pre-configured toolchains...

you know that there are pre-configured toolchains which do build binutils, gcc and even something more?


And if you'd only grab the recipes, it might be useful
Forum: Coders. C/C++ 03 October 2019, 15:24
Replies: 9
Views: 584
Posted By bebbo
the gcc is provided by binutils, gcc by gcc. ...

the gcc is provided by binutils, gcc by gcc.
both are available in various versions.
you can't combine every version of binutils with every version of gcc, but you have to use a working...
Forum: Coders. C/C++ 03 October 2019, 12:30
Replies: 9
Views: 584
Posted By bebbo
You are using a relative path. Never ever do that...

You are using a relative path. Never ever do that again when calling configure!

Plus your assembler does not match.
Forum: Coders. C/C++ 29 September 2019, 18:39
Replies: 1,191
Views: 132,905
Posted By bebbo
I made a change and initialized some pointers...

I made a change and initialized some pointers :spin
Should be live in ~ 1 hour from now
Forum: Coders. C/C++ 29 September 2019, 17:30
Replies: 1,191
Views: 132,905
Posted By bebbo
now please replace collect2 with m68k-amigaos-ld...

now please replace collect2 with m68k-amigaos-ld (also adjust the path)


valgrind /opt/amiga/bin/m68k-amigaos-ld -L/opt/amiga/lib -L/opt/amiga/m68k-amigaos/libnix/lib -o aout...
Forum: Coders. C/C++ 29 September 2019, 15:21
Replies: 1,191
Views: 132,905
Posted By bebbo
1. install valgrind 2. compile the *.c to *.o...

1. install valgrind
2. compile the *.c to *.o files:
m68k-amigaos-gcc -c *.c

3. run m68k-amigaos-gcc ... -v (using the *.o files)
m68k-amigaos-gcc -noixemul -nostartfiles -nostdlib -m68000 -o...
Forum: Coders. C/C++ 28 September 2019, 22:08
Replies: 1,191
Views: 132,905
Posted By bebbo
are you using cygwin/msys2?

are you using cygwin/msys2?
Forum: Coders. C/C++ 26 September 2019, 21:30
Replies: 19
Views: 879
Posted By bebbo
please use only one of -mcrt=nix13 -noixemul

please use only one of
-mcrt=nix13
-noixemul
Forum: Coders. C/C++ 26 September 2019, 18:30
Replies: 1,191
Views: 132,905
Posted By bebbo
that's a difference between const...

that's a difference between



const char text[] ...


end
Forum: Coders. C/C++ 26 September 2019, 12:28
Replies: 1,191
Views: 132,905
Posted By bebbo
I get ...

I get

/opt/amiga/lib/gcc/m68k-amigaos/6.5.0b/../../../../m68k-amigaos/bin/ld: /tmp/ccNIubOY.o: in function `mymain':
(.text+0x42): undefined reference to `memcpy'
collect2: error: ld returned 1...
Forum: Coders. C/C++ 24 September 2019, 20:36
Replies: 19
Views: 879
Posted By bebbo
please unhide your command line / makefile

please unhide your command line / makefile
Forum: Coders. C/C++ 23 September 2019, 22:22
Replies: 19
Views: 879
Posted By bebbo
my gcc toolchain is using a newlib implementation...

my gcc toolchain is using a newlib implementation as default, since the ixemul.library did not build that easily... (if someone provides a working build for my toolchain, I'll add it back - maybe...
Forum: Coders. C/C++ 23 September 2019, 16:35
Replies: 19
Views: 879
Posted By bebbo
new throws an exception by default if the memory...

new throws an exception by default if the memory is exhausted.






You aren't using the -noixemul option.
Forum: Coders. C/C++ 23 September 2019, 13:07
Replies: 19
Views: 879
Posted By bebbo
* don't use iostreams * and if you don't use...

* don't use iostreams
* and if you don't use exceptions add -fno-exceptions
Forum: Coders. C/C++ 20 September 2019, 20:34
Replies: 5
Views: 421
Posted By bebbo
and for kickstart 1.3 you find them in...

and for kickstart 1.3 you find them in /opt/amiga/m68k-amigaos/ndk13-include. These aren't the original headers, these are generated from the 2.0+ headers.
Forum: Coders. C/C++ 20 September 2019, 18:29
Replies: 5
Views: 421
Posted By bebbo
don't use clib2, use -mcrt=nix13.

don't use clib2, use -mcrt=nix13.
Forum: Coders. C/C++ 20 September 2019, 13:45
Replies: 1,191
Views: 132,905
Posted By bebbo
both of above. ...

both of above.

https://gcc.gnu.org/projects/cxx-status.html
Forum: Coders. C/C++ 18 September 2019, 16:58
Replies: 1,191
Views: 132,905
Posted By bebbo
it's fixed in gcc version 6.5.0b 190918153513 ...

it's fixed in gcc version 6.5.0b 190918153513


Thank's for reporting. (the preferred way to report is https://github.com/bebbo/gcc/issues)
Forum: Coders. C/C++ 18 September 2019, 00:14
Replies: 1,191
Views: 132,905
Posted By bebbo
please compile the test file with -S and have a...

please compile the test file with -S and have a look at the .stabs at end.
Guess these differ.
Forum: Coders. C/C++ 17 September 2019, 22:48
Replies: 1,191
Views: 132,905
Posted By bebbo
there might be a difference in the generated...

there might be a difference in the generated debug info.
Is there a difference in the asm file if -g is added?
Forum: Coders. C/C++ 17 September 2019, 20:50
Replies: 1,191
Views: 132,905
Posted By bebbo
bgdbserver needs to poke the executable name into...

bgdbserver needs to poke the executable name into the Task/Proces...


which crt is used? none? libnix? clib2?
Forum: Coders. C/C++ 17 September 2019, 20:43
Replies: 1,191
Views: 132,905
Posted By bebbo
Here is an update to the current state: 1....

Here is an update to the current state:

1. After a tough struggle I was able to persuade gcc to use double indirect addressing.

Now instructions like

move.l (28,a1),([-24,a2],d0.l)

are...
Showing results 1 to 40 of 429

 
Forum Jump

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


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