English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 460
Search took 0.04 seconds.
Search: Posts Made By: bebbo
Forum: Coders. C/C++ 26 June 2020, 13:38
Replies: 76
Views: 12,968
Posted By bebbo
Your telnet plugin is working, your program gets...

Your telnet plugin is working, your program gets started remotely.


Does your program run without debugger? And is it really the same as your local version?
Forum: Coders. C/C++ 08 June 2020, 18:27
Replies: 21
Views: 1,127
Posted By bebbo
Uh, oh, forgot that option... ... then...

Uh, oh, forgot that option...


... then you have to add a search over all path elements...
... still feasible!


struct AssignList * al = (struct AssignList *)BADDR(cli->cli_CommandDir);...
Forum: Coders. C/C++ 08 June 2020, 12:02
Replies: 21
Views: 1,127
Posted By bebbo
The standard way: use current directory =...

The standard way:


use current directory = curdir
use program name = argv[0] = prog


if prog is absolute then
use prog
else
Forum: Coders. C/C++ 04 June 2020, 14:16
Replies: 76
Views: 12,968
Posted By bebbo
My guess is that you are having a newer plugin...

My guess is that you are having a newer plugin installed. So if you copy the org.eclipse.remote.telnet.core_1.0.0.201803121903.jar plugin into the plugins folder, ensure that there is no newer...
Forum: Coders. C/C++ 02 May 2020, 17:56
Replies: 9
Views: 797
Posted By bebbo
Always these futile arguments. You can deal with...

Always these futile arguments. You can deal with saved bytes and the like, or simply solve a problem.

As long as you don't want to program games or other hardware related things, I recommend to...
Forum: Coders. C/C++ 22 April 2020, 20:07
Replies: 1,232
Views: 155,734
Posted By bebbo
the main difference is the exception kind. ...

the main difference is the exception kind.


gcc 2.95 is using sjlj = setjump longjump, which means that on every try/catch block setjump is used to snapshot the state and affects the runtime

...
Forum: Coders. C/C++ 29 March 2020, 21:52
Replies: 1,232
Views: 155,734
Posted By bebbo
have you tried to modify the linkers lib path...

have you tried to modify the linkers lib path order to pick the libgcc's libm.a first?
Forum: Coders. C/C++ 25 March 2020, 13:46
Replies: 1,232
Views: 155,734
Posted By bebbo
provide dummy functions for setlocale(...) and...

provide dummy functions for setlocale(...) and friends or create a dummy locale.library for 1.3^^
Forum: Coders. C/C++ 25 March 2020, 13:11
Replies: 3
Views: 783
Posted By bebbo
Testing zLib 1.2.11 compression library Init1...

Testing zLib 1.2.11 compression library
Init1 CRC: $00000000
Init2 CRC: $00000000
Forum: Coders. C/C++ 25 March 2020, 13:08
Replies: 3
Views: 996
Posted By bebbo
There are many "Best C IDE & Compiler & Linker...

There are many "Best C IDE & Compiler & Linker (http://eab.abime.net/showthread.php?p=1386403#post1386403)". Same as with religions.




I'm using a cross compiler toolchain together with...
Forum: Coders. C/C++ 25 March 2020, 12:55
Replies: 41
Views: 10,561
Posted By bebbo
the compiler takes care to save the registers...

the compiler takes care to save the registers where needed:


The function calling foo has to set d2, thus it will push/pop d2 in the calling function's prologue/epilogue.


If foo itself...
Forum: Coders. C/C++ 25 March 2020, 11:46
Replies: 2
Views: 783
Posted By bebbo
uhm... this code compiles and seems to run ...

uhm... this code compiles and seems to run



m68k-amigaos-gcc test.c -noixemul -m68020 -Os -o b -lpng -lm -lz


vamos -C20 test
Usage: program_name <file_in> <file_out>
Program aborted
Forum: Coders. C/C++ 23 February 2020, 11:59
Replies: 1,232
Views: 155,734
Posted By bebbo
the binutils are using hunk not gcc. gcc...

the binutils are using hunk not gcc. gcc generates asm source code.
Forum: Coders. C/C++ 06 February 2020, 19:45
Replies: 76
Views: 12,968
Posted By bebbo
Since the behaviour changes if only the WinUAE...

Since the behaviour changes if only the WinUAE config is changed, it's a Kickstart or a WinUAE issue.



Good luck hunting elsewhere.
Forum: Coders. C/C++ 06 February 2020, 18:37
Replies: 76
Views: 12,968
Posted By bebbo
Since the memory is patched correctly but the...

Since the memory is patched correctly but the trap handler is not invoked, it looks like a bug in WinUAE.


=> ask there for support.
Forum: Coders. C/C++ 05 February 2020, 09:56
Replies: 76
Views: 12,968
Posted By bebbo
WINUAE: if the CPU is 68020 also enable 68882

WINUAE: if the CPU is 68020 also enable 68882
Forum: Coders. C/C++ 05 February 2020, 08:32
Replies: 76
Views: 12,968
Posted By bebbo
try wsl (ubuntu) together with VcXsrv instead of...

try wsl (ubuntu) together with VcXsrv instead of cygwin?

EDIT:
try different WinUAE configurations:

* CPU?
* Kickstart?
* ...
Forum: Coders. C/C++ 04 February 2020, 21:03
Replies: 76
Views: 12,968
Posted By bebbo
uuups - I updated that binary and some more...

uuups - I updated that binary and some more places...



/sorry
Forum: Coders. C/C++ 04 February 2020, 14:44
Replies: 16
Views: 1,975
Posted By bebbo
it's not necessary, because the graphics function...

it's not necessary, because the graphics function will allocate one per call, which means
ObtainSemaphore
AllocMem
WaitBlit (can't free tempras before)

FreeMem
ReleaseSemaphore
Forum: Coders. C/C++ 04 February 2020, 13:42
Replies: 16
Views: 1,975
Posted By bebbo
Maybe you forgot to clear the layer and allocate...

Maybe you forgot to clear the layer and allocate a matching tmpRas?
Without a ras->TmpRas a temporary is allocated per call...

And for the layer an Obtain/Release-Semaphore is called...

do...
Forum: Coders. C/C++ 04 February 2020, 11:49
Replies: 76
Views: 12,968
Posted By bebbo
learn gdb - first lesson: how to set a break...

learn gdb - first lesson: how to set a break point.
watch closely:

stefan@ZETRA:~/amiga-gcc/tickets/eab7$ m68k-amigaos-g++ -g test7.c -o test7
stefan@ZETRA:~/amiga-gcc/tickets/eab7$...
Forum: Coders. C/C++ 18 January 2020, 10:01
Replies: 1,232
Views: 155,734
Posted By bebbo
you must use -noixemul or one of -mcrt=nix13,...

you must use -noixemul or one of -mcrt=nix13, -mcrt=nix20, -mcrt=clib2


The default libraries are not that good... and you may create a ticket here: https://github.com/bebbo/newlib-cygwin/issues
Forum: Coders. Asm / Hardware 06 January 2020, 10:31
Replies: 33
Views: 1,349
Posted By bebbo
my expectation is, that the encoded offset is...

my expectation is, that the encoded offset is handled as in bcc/bsr.

X(pc)



if X is a number, that number is used without conversion. Thus

lea 2(pc),a0
Forum: Coders. C/C++ 05 January 2020, 11:26
Replies: 13
Views: 1,519
Posted By bebbo
I consider this as wrong, since it's not const....

I consider this as wrong, since it's not const. If DoSomethingWith modifies a value subsequent calls will start with the modified values.
Forum: Coders. Asm / Hardware 02 January 2020, 22:10
Replies: 26
Views: 2,203
Posted By bebbo
there is no good or bad - it's a religion. and...

there is no good or bad - it's a religion.
and here is some doc: https://sourceware.org/binutils/docs/as/
Forum: Coders. C/C++ 02 January 2020, 18:29
Replies: 1,232
Views: 155,734
Posted By bebbo
this will yield now Error: invalid...

this will yield now


Error: invalid operands (*UND* and .text sections) for `-' when setting `msg_length'



should be live soon
Forum: Coders. Asm / Hardware 02 January 2020, 14:04
Replies: 26
Views: 2,203
Posted By bebbo
m68k-amigaos-as generated hunks are more...

m68k-amigaos-as generated hunks are more compatible now. The example from above yields the same object file as vasm.

m68k-amigaos-ld links amiga hunks now different (again) to amiga aout.



...
Forum: Coders. Asm / Hardware 21 December 2019, 13:53
Replies: 26
Views: 2,203
Posted By bebbo
I don't understand why the generated offset...

I don't understand why the generated offset matters at all. So this should do it for vasm and as:

sym->value + target_section->output_offset
- sec->output_offset - r->addend - r->address
Forum: Coders. Asm / Hardware 20 December 2019, 22:10
Replies: 26
Views: 2,203
Posted By bebbo
Ok, I tracked it down Consider this example...

Ok, I tracked it down

Consider this example code:


_X:
nop
nop
bsr foo
rts
Forum: Coders. C/C++ 20 December 2019, 22:02
Replies: 1,232
Views: 155,734
Posted By bebbo
I'm not sure what the real error is. That's not...

I'm not sure what the real error is. That's not enough information here.
Forum: Coders. Asm / Hardware 20 December 2019, 13:04
Replies: 26
Views: 2,203
Posted By bebbo
Well, m68k-amigaos-ld inserts long jump tables...

Well, m68k-amigaos-ld inserts long jump tables and adjusts the word/short jumps to the next jump table (do you remember?)


Maybe there's an error...
Forum: Coders. C/C++ 20 November 2019, 09:35
Replies: 76
Views: 12,968
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, 09:53
Replies: 76
Views: 12,968
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, 08:58
Replies: 76
Views: 12,968
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, 11:46
Replies: 8
Views: 1,211
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, 10:04
Replies: 8
Views: 1,211
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, 20:52
Replies: 8
Views: 1,211
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, 10:14
Replies: 1,232
Views: 155,734
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, 22:30
Replies: 29
Views: 3,013
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, 21:49
Replies: 1,232
Views: 155,734
Posted By bebbo
maybe you can tell us a bit more - not only...

maybe you can tell us a bit more - not only fragments...
Showing results 1 to 40 of 460

 
Forum Jump

All times are GMT +2. The time now is 09:31.


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