x86 asm bios interrupts in C
Re: x86 asm bios interrupts in C
affortunately for you the directory is exactly as i have. i will try to do it
Thanks!
Thanks!
Re: x86 asm bios interrupts in C
ok, nothing changes, still making the same multiple and undefined references to the same functoins
Re: x86 asm bios interrupts in C
I really don't know now. I've unpacked the file I've uploaded and it just works for me. What is the exact output of build.sh command? BTW. I use GCC version 7.3.0, LD version 2.30, NASM version 2.13.02 on Ubuntu 18.04 64-bit. Maybe you could try adding -nostdinc for every GCC call and -nostdlib for LD call. If that does not work… I have no idea.
Re: x86 asm bios interrupts in C
nope.not working. ld still bringing the same undefined and multiple definitions of the same funtions. i don't know why this happens
Re: x86 asm bios interrupts in C
And does 'my' makefile version work for you?
Re: x86 asm bios interrupts in C
no. when you passed me the file for first time, i tried to do it with the makefile, and it was even worst.but if i compile without implementing it in my OS it works
Re: x86 asm bios interrupts in C
What host OS do you use? My last try will be installing what you have in a VM and try myself.
Re: x86 asm bios interrupts in C
i use linux mint 18.3
Re: x86 asm bios interrupts in C
I think there is something wrong with your toolchain. I've made a fresh install of Mint 18.3 and updated it. Both archives compile and run perfectly fine for me.
Re: x86 asm bios interrupts in C
then i will update nasm gcc and LD, i hope that to work
Re: x86 asm bios interrupts in C
not working even with updating
- Schol-R-LEA
- Member
- Posts: 1925
- Joined: Fri Oct 27, 2006 9:42 am
- Location: Athens, GA, USA
Re: x86 asm bios interrupts in C
OK, I really, really recommend that you drop everything until you have all your code under version control. Seriously, as I have said to others here, programming without version control is like skydiving without a parachute.alberinfo wrote:no, i dont have github or other types of repo
I don't care which one you use, but please, use something, for your own sake.
Even if you don't set up a copy of it a hosted repo - and there are few if any reasons not to, as most hosting services are free for open source projects - at the very least have it under a local repository. You will come to regret it if you don't - I would hazard a guess that every older member here, from the days when free VCS wasn't common, could tell you their horror stories about that. I certainly recall several instances where I lost weeks of work because of either a disk failure or a careless move on my part.
Regarding the toolchain, have you set up a GCC Cross-Compiler, or are you using the default toolchain installed with your Mint VM?
Last edited by Schol-R-LEA on Sat Sep 15, 2018 12:20 pm, edited 1 time in total.
Rev. First Speaker Schol-R-LEA;2 LCF ELF JAM POEE KoR KCO PPWMTF
Ordo OS Project
Lisp programmers tend to seem very odd to outsiders, just like anyone else who has had a religious experience they can't quite explain to others.
Ordo OS Project
Lisp programmers tend to seem very odd to outsiders, just like anyone else who has had a religious experience they can't quite explain to others.
Re: x86 asm bios interrupts in C
Sorry, but I am out of ideas
Re: x86 asm bios interrupts in C
as i installed all that i need, i started to use. so i don't have set up a cross compiler
pvc, don't worry, i think i'll find the solution if i keep trying
pvc, don't worry, i think i'll find the solution if i keep trying