Forum: Coders. C/C++
08 March 2024, 10:48
|
Replies: 1,549
Views: 359,632
|
Forum: Coders. C/C++
07 March 2024, 21:03
|
Replies: 1,549
Views: 359,632
For emacs + eglot I had to do it like that ...
For emacs + eglot I had to do it like that
#ifdef __clang__
#define __stdargs
#define __aligned
#include <clib/dos_protos.h>
#include <clib/exec_protos.h>
#else
#include <proto/dos.h>...
|
Forum: Coders. System
28 November 2023, 23:10
|
Replies: 35
Views: 4,183
I'll give you my actual constraints. The code...
I'll give you my actual constraints. The code that I uploaded was the heart of a "make" command line tool, that spawns sub-tools for the compilation. So, yeah, result code was important.
Also,...
|
Forum: Coders. System
25 November 2023, 00:16
|
Replies: 35
Views: 4,183
|
Forum: Coders. General
14 October 2023, 20:26
|
Replies: 1,572
Views: 551,831
|
Forum: Coders. General
09 October 2023, 23:51
|
Replies: 1,572
Views: 551,831
|
Forum: Coders. C/C++
26 September 2023, 21:18
|
Replies: 5
Views: 841
|
Forum: Coders. C/C++
14 September 2023, 21:31
|
Replies: 1,549
Views: 359,632
|
Forum: Coders. General
10 July 2023, 10:14
|
Replies: 1,572
Views: 551,831
vamos -v sieve
11:12:02.255 main: INFO:...
vamos -v sieve
11:12:02.255 main: INFO: done. exit code=0
11:12:02.255 main: INFO: total cycles: 42054466
11:12:02.256 main: INFO: vamos is exiting
Number of primes...
|
Forum: Coders. General
10 July 2023, 10:03
|
Replies: 1,572
Views: 551,831
|
Forum: Coders. General
10 July 2023, 03:28
|
Replies: 1,572
Views: 551,831
|
Forum: Coders. General
09 July 2023, 22:14
|
Replies: 1,572
Views: 551,831
|
Forum: Coders. General
09 July 2023, 21:49
|
Replies: 1,572
Views: 551,831
|
Forum: Coders. General
09 July 2023, 20:03
|
Replies: 1,572
Views: 551,831
|
Forum: Coders. General
09 July 2023, 15:39
|
Replies: 1,572
Views: 551,831
|
Forum: Coders. System
28 June 2023, 03:45
|
Replies: 13
Views: 1,444
|
Forum: Coders. System
26 June 2023, 21:55
|
Replies: 13
Views: 1,444
|
Forum: Coders. System
29 April 2023, 19:11
|
Replies: 9
Views: 986
|
Forum: Coders. System
29 April 2023, 03:15
|
Replies: 9
Views: 986
|
Forum: Coders. System
29 April 2023, 00:13
|
Replies: 9
Views: 986
If you are in kickstart >=2, check this ...
If you are in kickstart >=2, check this
http://amigadev.elowar.com/read/ADCD_2.1/Includes_and_Autodocs_3._guide/node01BF.html
sample program
#include <proto/dos.h>
int main(int argc, char...
|
Forum: Coders. C/C++
26 April 2023, 21:31
|
Replies: 1,549
Views: 359,632
libnix fails with
...
libnix fails with
/home/alex/t/amiga-gcc13.1/projects/libnix/sources/socket/socket/addrinfo.c:6:9: error: 'asm' specifier for variable '__freeaddrinfo_ai' conflicts with 'asm' clobber list
6...
|
Forum: Coders. C/C++
26 April 2023, 18:08
|
Replies: 1,549
Views: 359,632
|
Forum: Coders. C/C++
19 April 2023, 21:10
|
Replies: 10
Views: 1,253
Double numbers performance and some io.
...
Double numbers performance and some io.
/* The Computer Language Benchmarks Game
* https://salsa.debian.org/benchmarksgame-team/benchmarksgame/
contributed by Greg Buchholz
*/
...
|
Forum: Coders. C/C++
18 April 2023, 09:35
|
Replies: 10
Views: 1,253
Thomas, I am pretty sure Bebbo knows what a...
Thomas, I am pretty sure Bebbo knows what a compiler is, since you know....he ported gcc to amigaos-target.
Anyways, the point of the chart is to compare compiler-produced-code from various...
|
Forum: Coders. General
29 March 2023, 11:27
|
Replies: 9
Views: 1,526
|
Forum: Coders. C/C++
11 February 2023, 01:41
|
Replies: 9
Views: 1,376
|
Forum: Coders. C/C++
10 February 2023, 02:57
|
Replies: 9
Views: 1,376
Your second invocation is the correct one.
...
Your second invocation is the correct one.
m68k-amigaos-gcc -mcrt=nix13 -o hello hello.c
if it is not recognized as executable you may have to play with c:protect in order to make the file...
|
Forum: Coders. C/C++
07 February 2023, 09:11
|
Replies: 36
Views: 3,408
How about this?
#define...
How about this?
#define GetLongFromCharStar(x) \
(((ULONG)(*(UBYTE *)x)) << 24L | ((ULONG)(*(UBYTE *)(x + 1))) << 16L | \
...
|
Forum: Coders. C/C++
06 February 2023, 20:47
|
Replies: 36
Views: 3,408
|
Forum: Coders. General
06 February 2023, 14:17
|
Replies: 18
Views: 2,720
|
Forum: Coders. C/C++
04 February 2023, 20:18
|
Replies: 36
Views: 3,408
One thing I've noticed (and I don't have any...
One thing I've noticed (and I don't have any experience with vbcc) is that you specify -mrel which might suggest base-relative code but you link with startup.o. Usually there are different startups...
|
Forum: Coders. Asm / Hardware
16 January 2023, 12:01
|
Replies: 7
Views: 3,248
|
Forum: Coders. C/C++
02 December 2022, 13:35
|
Replies: 15
Views: 1,710
Do something like that to your .sfd file
...
Do something like that to your .sfd file
sfdc --mode=macros whatis_lib.sfd >inline.h
This inline.h (or however you see fit name, maybe whatis_inline.h) is what you need to include.
|
Forum: Coders. Asm / Hardware
25 November 2022, 19:59
|
Replies: 14
Views: 2,802
|
Forum: Coders. C/C++
22 November 2022, 23:32
|
Replies: 94
Views: 28,103
|
Forum: Coders. Asm / Hardware
17 November 2022, 00:11
|
Replies: 7
Views: 912
|
Forum: support.AmigaOS
16 October 2022, 08:56
|
Replies: 22
Views: 6,787
|
Forum: support.AmigaOS
15 October 2022, 05:09
|
Replies: 22
Views: 6,787
|
Forum: Coders. General
19 September 2022, 16:24
|
Replies: 20
Views: 4,752
|
Forum: Amiga scene
01 September 2022, 19:42
|
Replies: 16
Views: 2,295
|