Search found 2956 matches

by marcov
Mar 20, 2006 11:42
Forum: Linux
Topic: FB under FreeBSD
Replies: 22
Views: 6659

Compilation speed isn't really a concern, last time i tried to compile a 30k LOC project in VB 6 (without any GUI code), it took over 2 minutes to build the executable (not p-code), FB compiles its over 150 files with 60+K LOC with ~5K LOC include files that are re-included all the time on those hu...
by marcov
Mar 20, 2006 9:37
Forum: Linux
Topic: FB under FreeBSD
Replies: 22
Views: 6659

It does. BSD has textmode mouse support. The driver is called "syscons", and its interface is mostly IOCTL based in combination with a SIGUSR2 hook. I am very well aware that BSD has textmode mouse support. :) That was not what I was saying. What I was saying is that gpm doesn't exist in FreeBSD, b...
by marcov
Mar 20, 2006 9:29
Forum: Linux
Topic: FB under FreeBSD
Replies: 22
Views: 6659

What I'm hinting at is more like: Have you ever seen e.g. Delphi ? Make a program, F9 and program is already compiled and running before you can count to 1. That's a very specific example. I always thought that Pascal and its variants used incremental compilation? With the standard definition of in...
by marcov
Mar 19, 2006 10:35
Forum: Linux
Topic: Netsupport for Linux. (simple client server)
Replies: 24
Views: 16115

Sorry but i have never used sockets before and can't understood your berklay questions. Nearly all sockets are Berkeley (BSD) sockets. See e.g. the manual pages of this. You linux code is Berkeley sockets code. (and way more comformant than that Windows abhorration called Winsock All aps in Linux u...
by marcov
Mar 19, 2006 10:02
Forum: Linux
Topic: FB under FreeBSD
Replies: 22
Views: 6659

Ran into a major snag in the linux rtlib. gpm.h doesn't seem to exist in FreeBSD because it's apparently not required. But the rtlib requires it. So it looks like a major platform-dependant library is being used that has no counterpart in FreeBSD. It does. BSD has textmode mouse support. The driver...
by marcov
Mar 19, 2006 9:59
Forum: Linux
Topic: FB under FreeBSD
Replies: 22
Views: 6659

gcc on Windows isn't that bad, it can keep pace with Microsoft's compilers quite well. Neither compare with Intel's, but that's another story altogether. :D There are more metrics for compiler quality than just code generation (since most modern cg enhancements only apply to specific cases like har...
by marcov
Feb 28, 2006 18:11
Forum: Linux
Topic: FB under FreeBSD
Replies: 22
Views: 6659

Thanks, moving to gcc we can run fbc directly in FreeBSD, the rtlib for Linux may could be used with a couple of pre-processor conditionals added, if you can help on that later, that will be great. Depends on what kind of processor you use, and how well your typing of everything is. (no linuxisms k...
by marcov
Feb 10, 2006 22:46
Forum: Documentation
Topic: Freebasic Bootstrapped?
Replies: 10
Views: 5160

Technically both Pascal and ML are toy languages and most people consider Basic to be one also (moreso for VB though for some strange reason). Oh yeah, don't forget Ruby and Perl. Pascal in the "Delphi" form is still the 2nd most sold IDE after Visual Studio. And Visual Studio's most dominant langu...
by marcov
Feb 10, 2006 22:42
Forum: Linux
Topic: FB under FreeBSD
Replies: 22
Views: 6659

FreeBSD

- FreeBSD uses gcc, but not glibc. It has a libc descending from the BSD side of things, not GNU - functions in libdl on Linux are simply in libc on FreeBSD. - X libs are in /usr/X11R6/lib - 3rd party pkgs are installed into /usr/local/lib; /usr/lib is reserved for base. Using FB in compat mode (the...
by marcov
Jul 13, 2005 11:20
Forum: General
Topic: Parameter count in macros?
Replies: 14
Views: 3470

D.J.Peters wrote:Yes sir only private function on module level can be removed. (VB,PowerBASIC,VisualStudio,Borland.. do it too [optimize size])


Afaik VS also supports non private function removal. However this is an involved global optimisation, and requires control over the linker.
by marcov
Jul 11, 2005 12:54
Forum: Hardware Interfaces / Communication
Topic: Internet/network Communication
Replies: 81
Views: 25791

There are other things to worry out, end of line and end of file detection, how to handle errors safely etc.
by marcov
Jul 08, 2005 10:01
Forum: General
Topic: New emitter: C source target
Replies: 38
Views: 7199

FB 0.14 already has stabs support, anything but dynamic arrays work - the main module overlapping the other functions must be fixed though, what can't happen in Pascal or C. GCC and the stabs' "unofficial" documentation were used as reference. What do you mean by that ? That main module functions c...
by marcov
Jul 01, 2005 13:57
Forum: General
Topic: New emitter: C source target
Replies: 38
Views: 7199

FB 0.14 already has stabs support, anything but dynamic arrays work - the main module overlapping the other functions must be fixed though, what can't happen in Pascal or C. GCC and the stabs' "unofficial" documentation were used as reference. Just fyi: some archs don't support stabs anymore, we ra...
by marcov
Jun 28, 2005 10:07
Forum: General
Topic: New emitter: C source target
Replies: 38
Views: 7199

Debugging will be pretty much impossible, unless GCC has some kind of #pragma to "map" lines to external files - i remember seeing that, dunno. All referenced function prototypes and types will have to be emited, etc.. okay, not so hard, maybe for descriptors and such, stills.. GCC probably won't l...
by marcov
Jun 17, 2005 20:32
Forum: General
Topic: RTL in C ?
Replies: 3
Views: 2887

I'm guessing its for the quick portability. If they were written in FreeBASIC, I'd imagine that the initial porting-to-Linux process would've been much more difficult. Well, actually that is why I asked. Without that, you can port before you have dynamic linking support, C interfacing etc. (/me wen...

Go to advanced search