Search found 2965 matches

by marcov
May 06, 2020 20:31
Forum: Community Discussion
Topic: Why did you choose FreeBASIC?
Replies: 37
Views: 2948

Re: Why did you choose FreeBASIC?

Is there a reason you spam your competing product in every thread about this language? And why have the moderators allowed you to do it nearly 3000 times? No doubt this is why there's a dearth of people using Freebasic, everybody who expects to read about it on this forum ends up with an advert abo...
by marcov
May 06, 2020 9:27
Forum: Community Discussion
Topic: Why did you choose FreeBASIC?
Replies: 37
Views: 2948

Re: Why did you choose FreeBASIC?

I always liked that in most cases just fpc <mainprogramname> is enough. Really? https://linux.die.net/man/1/fpc Yes, there are options. Doesn't mean you need to use them. You can compile multimodule programs that way (both own other modules, as ones part of the FPC installation) without much tricke...
by marcov
May 05, 2020 21:51
Forum: Community Discussion
Topic: FreeBASIC and C++ interop current status?
Replies: 15
Views: 1040

Re: FreeBASIC and C++ interop current status?

Java has interfaces that are also a form of MI. Yes, I think that was systemctl's point. Since only one base class can contain members, most of the nasty complexity of MI disappears. No offsetting pointers when casting to a base class, no need for multiple vtable pointers. I read that Java interfac...
by marcov
May 04, 2020 16:26
Forum: Community Discussion
Topic: FreeBASIC and C++ interop current status?
Replies: 15
Views: 1040

Re: FreeBASIC and C++ interop current status?

systemctl wrote:I don't think so. I prefer the Java OOP system.


Java has interfaces that are also a form of MI.
by marcov
May 04, 2020 10:32
Forum: Community Discussion
Topic: GCC compiler question
Replies: 10
Views: 631

Re: GCC compiler question

Nearly all of the distros have packages for Free Pascal and Lazarus but not FreeBASIC. It is often just a matter of getting somebody to do the work, but maintaining some reference (or last known good) debian package files (Ubuntu, Debian) and RPM spec (Fedora,Suse etc) files definitely helps. Most ...
by marcov
May 04, 2020 10:26
Forum: Linux
Topic: Multi-call binary in FreeBasic
Replies: 3
Views: 488

Re: Multi-call binary in FreeBasic

The kernel communicates it to libc that way, so while argv is easier under *nix, that difference probably doesn't matter. Note that the moving is a problem if you self open (for debuginfo (for traceback), resources etc). The problem with network drives is that some network and other non native FS dr...
by marcov
May 03, 2020 22:37
Forum: Community Discussion
Topic: invitation to an open source community discord server
Replies: 6
Views: 383

Re: invitation to an open source community discord server

I month or two back I joined Discord because of some other forum, and within two days it wouldn't continue without giving a telephone number for "security" reasons, and no way around it. Exit discord, back to IRC. Yes, I had the same problems. Maybe because I trash all cookies each day or...
by marcov
May 03, 2020 21:26
Forum: Community Discussion
Topic: invitation to an open source community discord server
Replies: 6
Views: 383

Re: invitation to an open source community discord server

I month or two back I joined Discord because of some other forum, and within two days it wouldn't continue without giving a telephone number for "security" reasons, and no way around it. Exit discord, back to IRC.
by marcov
May 03, 2020 21:25
Forum: Community Discussion
Topic: Why did you choose FreeBASIC?
Replies: 37
Views: 2948

Re: Why did you choose FreeBASIC?

I always liked that in most cases just

fpc <mainprogramname>


is enough.
by marcov
May 02, 2020 20:28
Forum: General
Topic: How to translate C headers contain gcc __attribute__?
Replies: 45
Views: 1836

Re: How to translate C headers contain gcc __attribute__?

systemctl wrote:
marcov wrote:
If you don't understand a post, please don't judge.


Stop being a parrot and repeat and repeat these boring words again and again. I understand, but I don't like it. Problem?


I don't like taxes either. Doesn't make them anything less real.
by marcov
May 02, 2020 18:15
Forum: General
Topic: How to translate C headers contain gcc __attribute__?
Replies: 45
Views: 1836

Re: How to translate C headers contain gcc __attribute__?

Headers are per definition not 100% translatable. Any #define can contain arbitrary partial C code. What you said only true for Free Pascal, where macros not as powerful as FreeBASIC. On Free Pascal, macro support even not turned on by default. If you could help, please help. If you can't, please d...
by marcov
May 02, 2020 13:13
Forum: General
Topic: How to translate C headers contain gcc __attribute__?
Replies: 45
Views: 1836

Re: How to translate C headers contain gcc __attribute__?

Headers are per definition not 100% translatable. Any #define can contain arbitrary partial C code.
by marcov
May 01, 2020 8:14
Forum: Community Discussion
Topic: What do you use FreeBASIC for?
Replies: 91
Views: 4995

Re: What do you use FreeBASIC for?

Still learning on this, but it seems to me that using external libraries is both a strong and a weak point of freebasic. Strong because a lot of C-libraries can be used with freebasic without too much work. Weak because it is complicated for the average programmer to get them working. Pretty much a...
by marcov
Apr 30, 2020 20:30
Forum: General
Topic: How to translate C headers contain gcc __attribute__?
Replies: 45
Views: 1836

Re: How to translate C headers contain gcc __attribute__?

I have nothing to hide that I'm translating the GNUTLS headers. I need to use functions from GNUTLS. I found it weirded that FreeBASIC doesn't already include openssl headers. Anyway, I choose to go with GNUTLS. If you know how to translate it to FreeBASIC, please help. I think I can only remove al...
by marcov
Apr 30, 2020 17:44
Forum: Linux
Topic: Multi-call binary in FreeBasic
Replies: 3
Views: 488

Re: Multi-call binary in FreeBasic

The question is however, how reliable is command(0)? Binaries might be moved right after modification, filesystems might not support the functionality (e.g. what if the binary is on a filesystem with a special driver, like samba or NFS drives). For busybox, that is less of a problem, since it is onl...

Go to advanced search