Search found 27 matches

by Sannaj
May 01, 2014 9:11
Forum: Linux
Topic: Packages required for Debian Testing amd64
Replies: 1
Views: 1606

Packages required for Debian Testing amd64

Does anybody know the current package requierments for FreeBASIC on current Debian Testing amd64?
by Sannaj
Apr 19, 2012 20:19
Forum: Community Discussion
Topic: Where can I get a Recent-Git-Build of FreeBASIC?
Replies: 638
Views: 173831

Re: Where get a Recent-Git-Build of FreeBASIC?

Just a short thing I've just realised: Why is "byte" defined as "char" in the C code´? I think typedef signed char byte; might be more matching since plain char not allays signed and not the "true" 8 bit Integer type. For Strings you could still use fixstring defined be...
by Sannaj
Mar 20, 2012 15:48
Forum: Community Discussion
Topic: Dynamic array as type member not allowed.. why not? WHY!!
Replies: 47
Views: 11868

Re: Dynamic array as type member not allowed.. why not? WHY!

First of all dynamic arrays should get some type like features like a constructor, witch initialises the array or a "redim" method. I think it would be very useful to introduce some kind of meta constructor. This is the main constructor of a type/class. It is not written manually, automati...
by Sannaj
Jan 21, 2012 17:55
Forum: Community Discussion
Topic: MAC OS
Replies: 11
Views: 2622

Re: MAC OS

Another problem is that the assembler used on Mac OS expects AT&T syntax, but fbc doesn't have a backend for that. There was an attempt at creating one in the past but it wasn't reliable enough. The C emitter backend could solve that problem, though. But isn't there any reliable port of gas on ...
by Sannaj
Jan 21, 2012 12:29
Forum: Community Discussion
Topic: At&t syntax emitter
Replies: 21
Views: 7012

Re: At&t syntax emitter

So what about inline assembly in relation with the as Option?
by Sannaj
Dec 21, 2011 18:38
Forum: Community Discussion
Topic: Where can I get a Recent-Git-Build of FreeBASIC?
Replies: 638
Views: 173831

Oh I see, I can only offer you the version of the German FB-Protal witch you can find under http://www.freebasic-portal.de/svnbuild ... 111221.zip. If think this is no problem even if you can't speak German.
by Sannaj
Dec 21, 2011 17:06
Forum: Community Discussion
Topic: Where can I get a Recent-Git-Build of FreeBASIC?
Replies: 638
Views: 173831

On the FBC Sourceforge Page:

http://sourceforge.net/scm/?type=git&group_id=122342

The Git Build needs to be compiled by yourself (It contains source code only), so you'll probably set up an building enviroment.
by Sannaj
Dec 16, 2011 21:33
Forum: Community Discussion
Topic: -gen GCC and 64bit exes
Replies: 66
Views: 7838

@MichaelW AdaptAsm also converts MASM32 and NASM32 to GoAsm64. But the program need some additional work done to it. Converting Pointers to data ,types, structs it does'nt do. I wouldn't use a program witch transforms 32-bit code into 64-bit code, because it only appears to make sense. Since it wou...
by Sannaj
Dec 11, 2011 12:01
Forum: Community Discussion
Topic: -gen GCC and 64bit exes
Replies: 66
Views: 7838

I don't get you point. What's the problem with llvm bytcode? It is not comparable with things like Java or .Net bytcode. Llvm bytcode is only used as a plattform + language independent form of representation during the optimisation stage. GCC has got something similar, but it is compiler programm i...
by Sannaj
Dec 10, 2011 15:22
Forum: Sources, Examples, Tips and Tricks
Topic: My filebrowser
Replies: 24
Views: 5541

How can you change the drive on Windows?
by Sannaj
Dec 10, 2011 15:00
Forum: Community Discussion
Topic: -gen GCC and 64bit exes
Replies: 66
Views: 7838

Possibly. but an year ago the Windows state of LLVM was pretty sorry too. Same problem as gcc, basically. You might be right, since llvm is splitt up in different programms and I don't know somthing like MinGW for this framework We would probatly need to use our own port of the framework, like we d...
by Sannaj
Dec 09, 2011 22:09
Forum: Community Discussion
Topic: -gen GCC and 64bit exes
Replies: 66
Views: 7838

If there only were a crossplatform one. GCC is too UNIX centric. Ah well, maybe CLANG/LLVM in time. LLVM would be a good idea. It will solute the portability problems of fbc. Its a much more modern and easier accessible them gcc. Clang is only a front end compiling C languages into the llvm-byte co...
by Sannaj
Dec 08, 2011 19:13
Forum: General
Topic: Compiler Raw output
Replies: 9
Views: 1384

Do you know any framework supporting platform-independent executables, containing x86-Machine Code? I don't. If you do, inform us about it. Anyway, why are you need to have a plattform indipendent version of the programm. Just recompile you program for any target or publish the source code. If you m...
by Sannaj
Dec 05, 2011 18:29
Forum: Community Discussion
Topic: Optimizing FB
Replies: 6
Views: 1618

That's true. But it's still a possibility to optimise the compiler by distinguishing between [= 0] and [= any] automatically.
by Sannaj
Dec 04, 2011 17:15
Forum: Community Discussion
Topic: Optimizing FB
Replies: 6
Views: 1618

Optimisation mostly isn't done afterwards but during the compiling process itself (backend). There are several optimisation possible targeting different inefficiencies. Optimisations also depend on the architecture of the compiler itself, e.g if register reloading is used. Myself I spotted one point...