is fbc.exe made by gcc ?
is fbc.exe made by gcc ?
1st,
is fbc.exe made by gcc ?
fbc is a compiler.
or,
is it made by itself?
is freebasic compiler made by freebasic compiler?
2nd,
the result "fbc.exe -r *.bas" is "*.asm".
so,can these "*.asm" compile by nasm?
3rd,
can I learn freebasic in reactos system?
is there some error when I do it?
er,my English is poor.It's not my native language.
-_-!!!
is fbc.exe made by gcc ?
fbc is a compiler.
or,
is it made by itself?
is freebasic compiler made by freebasic compiler?
2nd,
the result "fbc.exe -r *.bas" is "*.asm".
so,can these "*.asm" compile by nasm?
3rd,
can I learn freebasic in reactos system?
is there some error when I do it?
er,my English is poor.It's not my native language.
-_-!!!
You most likely cannot use NASM as there will be little differences (there's nothing to stop you trying, though). It should be relatively simple to edit into something NASM accepts.
ReactOS tries to provide compatibility for Windows programs. It may work, but it not supported. If it doesn't work, try giving them an example program and see if they can fix it.
ReactOS tries to provide compatibility for Windows programs. It may work, but it not supported. If it doesn't work, try giving them an example program and see if they can fix it.
-
- Posts: 165
- Joined: May 27, 2005 14:14
- Location: Marshall, Oklahoma, USA
- Contact:
So,is it meaning that JellyFB and FbEdit IDE Pack also released under GPL?
I find that the FbEdit IDE Pack looks like the IDE of visual basic.
and a funny thing.
just a "Hello,world!" program.
compiled by fbc.exe,the out file size is "15872 bytes 01.exe".
then "fbc.exe -r 01.bas" and "as.exe 01.asm" .
the a.out size is 586 bytes.
I rename a.out as a.exe
but a.exe can't run in WIN32.
I find that the FbEdit IDE Pack looks like the IDE of visual basic.
and a funny thing.
just a "Hello,world!" program.
compiled by fbc.exe,the out file size is "15872 bytes 01.exe".
then "fbc.exe -r 01.bas" and "as.exe 01.asm" .
the a.out size is 586 bytes.
I rename a.out as a.exe
but a.exe can't run in WIN32.
I’m not sure that I understand either, but I think the solution may be here:
http://www.freebasic.net/forum/viewtopi ... 404#121404
http://www.freebasic.net/forum/viewtopi ... 404#121404
the linking step,er, what is it?
isn't it like "nasm -f bin myfile.asm -o myfile.com"?
the link,
http://www.freebasic.net/forum/viewtopi ... 404#121404
about the sentence
"I get a working EXE file, and it and the object module have the same sizes as those produced by FBC. "
So,why?
Someone tell me ," the ASM program is the most small."
is it meaning that JellyFB don't open its source?
what about "FbEdit IDE Pack"?
er,Maybe my problem is too much.
what about the future plan of freebasic?
isn't it like "nasm -f bin myfile.asm -o myfile.com"?
the link,
http://www.freebasic.net/forum/viewtopi ... 404#121404
about the sentence
"I get a working EXE file, and it and the object module have the same sizes as those produced by FBC. "
So,why?
Someone tell me ," the ASM program is the most small."
is it meaning that JellyFB don't open its source?
what about "FbEdit IDE Pack"?
er,Maybe my problem is too much.
what about the future plan of freebasic?
Last edited by acat1433 on Sep 19, 2009 1:31, edited 1 time in total.
-
- Posts: 1186
- Joined: May 08, 2006 21:58
- Location: Crewe, England
Briefly a.out, or a.o will be an object file, the results of running the assembler against your source code. Since each line of asm code is likely to take up around 4 bytes on average, it will be quite small.
The .out file does not contain all the library files you need to execute. For this, you need to run it through the program "ld.exe", which should be in the same place as "as.exe".
The parameter list for ld, in the form emitted by fbc, is quite long and complicated. and the documentation is not too clever.
Sorry, got to go ...
The .out file does not contain all the library files you need to execute. For this, you need to run it through the program "ld.exe", which should be in the same place as "as.exe".
The parameter list for ld, in the form emitted by fbc, is quite long and complicated. and the documentation is not too clever.
Sorry, got to go ...