hi
how can i compaile tutorials in linux and execute them, i haven't floppy disk, under windows i am using VFDWin but in linux i cant find a program like that.
compailing tutorials in linux
Moderator:Moderators
Re: compailing tutorials in linux
First tutorials are made for windows compiler
So you must change some code (few) to do it
Second you need gcc, makefile, ld, ld script and asm competences
Ready, go
So you must change some code (few) to do it
Second you need gcc, makefile, ld, ld script and asm competences
Ready, go
Re: compailing tutorials in linux
// Second you need gcc, makefile, ld, ld script and asm competences
The native Linux gcc/binutils can't produce PE executables, you'll need MinGW and you'll have to rewrite the whole inline assembly code.
If you want to get started with gcc/mingw inline assembly then this page is a pretty good place to begin
The native Linux gcc/binutils can't produce PE executables, you'll need MinGW and you'll have to rewrite the whole inline assembly code.
If you want to get started with gcc/mingw inline assembly then this page is a pretty good place to begin
Re: compailing tutorials in linux
You dont neccesserally need to use PE executables. That was only because it was the default that MSVC uses.
If you are doing your development on Linux then it would be much easier to modifiy the kernel loader in stage2.asm to be able to load Elf binaries which GCC can nativly do.
~Andrew
If you are doing your development on Linux then it would be much easier to modifiy the kernel loader in stage2.asm to be able to load Elf binaries which GCC can nativly do.
~Andrew

Re: compailing tutorials in linux
It was implicitmagorian wrote:// Second you need gcc, makefile, ld, ld script and asm competences
The native Linux gcc/binutils can't produce PE executables, you'll need MinGW and you'll have to rewrite the whole inline assembly code.
For my part it was in binary format under cygwin.
Binary format is less complicated to adapt
Re: compailing tutorials in linux
hi
tnx for ur helps
can u show me how to do it?
for example:
gcc ......
and how can i simulate floopy drive in linux ( like as vfd in windows)
tnx for ur helps
can u show me how to do it?
for example:
gcc ......
and how can i simulate floopy drive in linux ( like as vfd in windows)