@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5



Comments:

<0> Can GRUB switch to PM mode for me? :)
<1> yes
<0> Yay, my problem is solved!
<1> no. it isn't.
<0> Why not?
<1> GRUB can switch to PM for you.
<1> but doing anything in PM requires some knowledge.
<0> I know.
<1> well, not doing anything, but some important things require some management
<1> catching interrupts is a bit more complicated
<0> why?
<1> and segmentation is totally different
<0> oh...
<1> well, because format of IVT changes
<1> but well
<1> what are you going to write your OS in? c? c++? something more sophisticated?



<0> ***embly. I dont have Linux to get GCC to work.
<1> some versions of DJGPP have suitable gcc
<0> DJGPP is for DOS.
<2> cygwin
<1> yes. and you're working on DOS, right?
<1> yeah, cygwin too
<0> I have cygwin.
<0> But it can only make cygwin binaries.
<1> just get linux
<0> I tried. I just ****ed my head up. :(
<2> better you wipe windows from your disk and and install a 'real' unix
<1> you can try coLinux [linux kernel running as windows user process]
<1> or get an account on someone else's linux box and use it to compile your stuff
<2> yeah freeshell for example
<0> I have a Virtual Maching app with Fedora Core 4 installed but I cant figure out how to use GCC.
<2> man gcc
<0> I got endless bunch of crap when I writed that to the console!
<2> yeah the ability to read gives you a clear advantage
<0> :'(
<2> alternative source: gcc.gnu.org
<0> I writed gcc to the console but I got some errors saying that the command gcc does not exists. Something like that.
<1> uhm, did you actually install gcc?
<2> which means that gcc isnt installed at all,, start your packet-manager and do it
<0> Full installation, Fedora Core 4.
<1> anyway, getting *some* shell account is simple
<1> one i can immediately think about is vortex.labs.pulltheplug.org... it requires you to do a simple network program that adds two numbers together and sends result through TCP connection
<1> then you have a shell account with everything that is needed for compile station
<2> freeshell.org?
<1> dunno about freeshell
<0> what about Compile Farm at Sourceforge?
<2> yeah but they run NetBSD *g*
<1> hm... NetBSD... do they use ELF? if yes, you're set
<2> omg the have Alpha-systems
<2> i need an account
<2> yeah netbsd uses elf
<0> But am I allowed to use their Compile Farm to compile my OS even if it is not a registered project at Sourceforge?
<1> slash_: getting gcc on freeshell.org requires $36, it seems
<2> yeah i a one time donation
<1> Polarina: dunno. as i say, vortex is a machine where it's pretty easy to get access if you're intelligent enough and has gcc and stuff
<0> ok
<1> alternatively, i could just get you an account on my machine... but then you need to pray my internet connection doesn't screw up when you need to compile something
<0> Ok.
<3> vortex?
<3> what is that
<3> oh nm
<3> scrolled up and saw
<0> But isint there a Windows version of GCC I can use to compile my OS?
<1> good old wargames :)
<1> Polarina: djgpp or cygwin... it's just that you need a version that supports ELF output format... or better yet, ALL formats
<0> Where can I get that version?
<1> Polarina: it's easy to get on linux, as ELF is default there, but djgpp/cygwin don't have it by default
<3> http://pulltheplug.org/wargames/index.html perhaps a better link
<1> Polarina: well... dunno. someone said he has it... but the only sure way to get it would be to compile your own gcc from sources
<0> Compile GCC on cygwin?
<1> dmh: technically, vortex.labs.pulltheplug.org is the host you SSH to.
<1> Polarina: yup
<3> markos_64, figured as much
<3> the website has a nice little description of each tho :P
<0> I'll try to do that.
<1> Polarina: well, not only gcc
<1> really, gcc isn't that much of issue



<1> the thing you really need is own-compiled binutils [toolkit that contains ***embler and linker, among others]
<0> ?
<1> binutils is set of binary utilities that create programs
<1> gcc doesn't create programs
<1> gcc just translates C/c++/whatever to ***embly
<0> Can I get a version of binutils for windows?
<1> binutils contains ***embler and linker [and some more stuff] that makes binary programs from it
<1> cygwin already contains binutils. the thing is that you need binutils compiled with ELF support.
<1> also, this isn't native platform, so it probably counts as cross-compiler... and making a cross-compiler is complicated
<1> so, what're you up to?
<0> Compile GCC on cygwin.
<1> [to be honest, when i was faced with the exact same choice years ago, i just continued writing in ***embler [PM though] and failed utterly...]
<1> don't compile gcc. you need binutils first.
<4> Polarina: if you're going for an a.out kludge kernel, technically you don't need ELF format.. just multiboot set up for kludge?
<0> In cygwin: I'm in gcc src folder and when I write "make" I get error saying not makefile found.
<1> AlaricX: correct.
<1> Polarina: let me repeat this once again: keep off from gcc source. first you need ELF binutils.
<0> ok.
<4> but i can't speak on that, i switched to ELF for my kernel too :P
<1> AlaricX: your OS?
<4> Yep
<1> ...
<1> i mean what OS you were compiling on
<4> oh
<4> Linux ;)
<1> used the system-provided compiler?
<1> how did you *switch* to ELF, then? or did you start back when they had a.out as default format?
<4> Nah, i was compiling my kernel in a.out format, i just changed the output format to elf32-i386. Works just fine. I did it for debugging purposes.
<4> (And well, by system-provided, i mean the one that was compiled for my use by portage)
<1> ???
<1> and this thing uses a.out format???
<1> or did you specifically ask for it?
<4> I specifically asked for it
<4> Er, well, what GRUB called "aout-kludge" -- i'm talking about oformat binary. I suppose it's not quite the same ;)
<1> ah
<1> well, i used ELF from the start
<4> Ah
<1> works fine... the multiboot header was 5 lines of C plus 5 lines of linker script :)
<4> ah, very nice :D
<4> I only started using ELF so i could nicely debug it with gdb and qemu
<4> wasn't too hard to get it to debug externally loaded programs, either, but hrm
<0> I want a easy step by step instruction on how to compile C code into ELF.
<0> On Windows.
<4> (on another note, isn't it possible to use COFF for a kernel?)
<1> it is technically possible, but pretty pointless
<1> Polarina: i already told you. compile binutils with support for ELF format.
<4> ah, i see :P
<0> How do I compile binutils and where do I get it?
<1> ftp://ftp.gnu.org/gnu/binutils/
<0> And how do I compile it?
<1> first, get it.
<0> Done.
<1> fast internet connection you have. oh well, guess ISPs here just **** so much
<1> second step is to unpack the source tarball
<1> then cd to source directory
<1> mkdir build
<1> cd build
<1> ../configure --enable-targets=i386-elf
<1> make
<1> make install
<0> ok
<0> CONFIG_FILES=Makefile CONFIG_HEADERS= C:/cygwin/bin/sh.exe ./config.status
<0> creating Makefile
<0> CONFIG_FILES=Makefile CONFIG_HEADERS= C:/cygwin/bin/sh.exe ./config.status
<0> creating Makefile
<0> CONFIG_FILES=Makefile CONFIG_HEADERS= C:/cygwin/bin/sh.exe ./config.status
<0> creating Makefile
<0> CONFIG_FILES=Makefile CONFIG_HEADERS= C:/cygwin/bin/sh.exe ./config.status
<0> creating Makefile
<0> CONFIG_FILES=Makefile CONFIG_HEADERS= C:/cygwin/bin/sh.exe ./config.status
<0> creating Makefile
<0> CONFIG_FILES=Makefile CONFIG_HEADERS= C:/cygwin/bin/sh.exe ./config.status
<0> creating Makefile


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #asm
or
Go to some related logs:

#php
#ai
gentoo nvidia pci_find_class
build-essentials centos
apsx2
#lisp
pastebin iptables
gentoo removing DHCPCD static IP
cdb-support for windows
am7729



Home  |  disclaimer  |  contact  |  submit quotes