#lost · 2008-08-29
942 Nachrichten · Seite 2 von 5 · Original-CSV herunterladen
- PMediaoder mesa-irc? x)
- ThePuppetMaster:]
- schnippixchat?
- PMediazuviel für den PC...
- ThePuppetMasterlol
- PMediahab nur 400 MHz unterm Hintern :D
- ThePuppetMasterdas klingt nach steinzeot
- PMediaisses auch :D
- ThePuppetMasternaja
- PMedian OS nutzen, das seit 5 Jahren nichmal mehr supportet wird x)
- ThePuppetMasterich such ma weiter nach diesen foo stack scheiss
- PMediahihi hf, ich kann dir da als letzter weiterhelfen :]
- PMediawerd mal erstmal weiterschreiben, dann guck ich mir ld an
- schnippihehe
- schnippilange nacht?
- PMediawelche Nacht? :D
- schnippi;)
- schnippijo dito..
- PMediadafür steh ich auch frühestens aufm Mittag wieder auf :D
- PMediaschade dass das Montag wieder vorbei is :(
- schnippihehe
- PMediald: warning: cannot find entry symbol _mainCRTStartup; defaulting to 00001000 - wonach klingt das für euch?
- PMediafür mich klingts nach C-Runtime ._.
- schnippijo
- PMediaund was hat die C-RT in meinem Kernel verloreN?
- schnippivermutlich nichts? ;)
- PMediahm und was will dann ld von mir?
- PMediaanders, was mach ich dagegen?
- schnippild irgendwie dazu bringen, dein entry symbol zu nutzen
- schnippikeine ahnung
- schnippihast du nen ENTRY eintrag in deinem linkerfile?
- PMediawelches linkerfile?
- schnippild.conf oder aehnlich ;)
- PMediahab ich hier noch nich gesehn :D
- schnippiich hab ld -T linker.conf
- schnippida stehen die einstellungen fuer ld drin
- PMediaich hab einfach das von Freaky empfohlene "ld -oformat=binary -Ttext=0x01000 -o xios xios.o" genommen :D lediglich die Dateinamen angepasst
- schnippihttp://rafb.net/p/eezHV942.html so in der art
- PMedianen kernel als elf?
- schnippihm ja, LOST hat iirc aber auch ne CRT
- PMediahmmmmm
- PMediaich wollt nix weiter als Hallo Welt in C zu realisiern als Binary, was ich mit Grub laden wollt
- schnippiirgendwo hast du doch ein label als einstiegspunkt definiert
- PMediajo, main
- PMediahm
- PMediaich glaub tcc geht mir aufn Sack
- PMediaich merk grad, dass meine .o-Datei in Wirklichkeit n Windows-Binary is
- PMedia>.>
- schnippihm\
- schnippikeine ahnung
- schnippiich hatte das damals auch nur schnell zusammengehackt und war froh als es lief
- PMediammhm
- ThePuppetMasterkomishc .... mit nem festgelegten wert für esp gehts, aber mit edem labelnamen nicht
- ThePuppetMastermerkwürdig
- ThePuppetMasterkennt sich wer mti dem qemu log aus?
- ThePuppetMastervorallem op ausgabe
- ThePuppetMasterchr
- ThePuppetMastera
- PMediachar?
- ThePuppetMasterjo
- schnippija
- ThePuppetMasterglaub schoon
- PMediada gabs doch noch nen andern?
- PMediahm naja dürft auch passen
- schnippichar ist 8 bit gross
- PMediajo das shco
- PMediaaber ich möcht meinen da gabs einen speziell für 8-Bit-Zahlen
- PMedianaja, funzt auch so - thx :]
- ThePuppetMasterwas issn T0 und A0 -> 0x0001: ldl_kernel_T0_A0
- PMediahmm ok, jetz hab ich scho mal ne Datei, die im Hexeditor mit 0x7F,'ELF' anfängt, und laut Konsolenhilfe von tcc ne obj sein soll - kann das hinhaun?
- schnippimom
- PMedia_dsl reconn >.>
- PMedia_PMedia hmm ok, jetz hab ich scho mal ne Datei, die im Hexeditor mit 0x7F,'ELF' anfängt, und laut Konsolenhilfe von tcc ne obj sein soll - kann das hinhaun?
- schnippidie bin?
- schnippija, hab ich auch
- PMedia_hm k, ld macht aber immer noch nich mehr :]
- schnippinenn dein startsymbol fuers erste doch einfach um :P
- schnippiund frag die anderen morgen nochmal
- PMedia_hm und iwe? _mainCRTStartup oder wie?
- schnippijo
- schnippioder ohne unterstrich
- PMedia_hab jetz einfach mal deine linker.conf ausprobiert, ld meint in Zeile 46 (die letzte) sei n Fehler, naja ich probier mal was umbenennen bringt
- PMedia_nö bringt auch nix
- schnippiwelche ld version hast du denn?
- PMedia_2.15.91
- PMedia_vom 04.09.2004 :D
- schnippischnippi@tuxworld ~/NoobOS $ ld -v
- schnippiGNU ld (GNU Binutils) 2.18
- PMedia_hab keine andere da, weil mingw zu "neu" für NT4 is
- schnippiversuch mal
- PMedia_sprich, der Installer schaffts nich, Dateien nachzuladen :-/
- schnippild -e deinstartsymbol <rest>
- schnippi -e ADDRESS, --entry ADDRESS Set start address
- schnippinen label ist auch nix anderes als ne adresse
- PMedia_jo :]
- PMedia_was heißt das -Ttext ?
- schnippi -Ttext ADDRESS Set address of .text section
- PMedia_ah
- PMedia_ahhh jezt macht er was :]
- schnippihmm klappt es etwa?
- PMedia_ähm
- PMedia_ne nich wirklich
- schnippi:(
- PMedia_der kopiert jetz einfach meine objektdatei ins binary ._.
- PMedia_sprich, xios.bin und xios.o sind identisch ._.
- PMedia_ich weiß nichmal, ob meine main überhaupt so richtig is x)
- PMedia_nie C programmiert, is iwie n komisches Gefühl
- PMedia_http://www.nopaste.com/p/a3UR1CVJi - so habsch des gemacht
- schnippidas sollte schon tun
- PMedia_cool :]
- schnippiwo ist dein grub multibootheader?
- PMedia_hm noch nich da :D
- PMedia_'s sollte nur erstmal compilen
- schnippischau doch einfach mal im wiki, da gibts doch c+grub tuts
- PMedia_jo ich weiß
- PMedia_aber is der für ld zwangsweise nötig?
- schnippinein
- PMedia_naja dann sollte das doch rein theo soweit tun :D
- PMedia_grub wird mir zwar sagen, checksum stimmt nich unso (kensch ja scho) aber dahin muss ich erstmal kommen
- PMedia_wobei... *idee*
- schnippijo
- schnippilinken sollte er das auch so, damit hat der header nichts zu tun
- schnippihast du es auch schon mit -e _main versucht?
- PMedia_hmm mist
- PMedia_ne
- PMedia_mom
- schnippikann sein dass dein compiler den unterstrich mit anhaengt
- PMedia_scho kommt wieder die Warnung, dass er es nich gefunden hätte
- PMedia_ähm fuck, bin ich dumm?
- schnippimoeglich
- schnippiwas denn?
- PMedia_jo ich bin dumm, wenn man sich die falsche Datei im Hexeditor ansieht is klar, dass sich beide Datein sehr ähneln
- PMedia_soah, ld hat mir nen MZ-Header reingebastelt, warum auch immer, ich hab egtl -oformat=binary drin
- schnippihm
- schnippiMZ ist doch windows binary oder nicht?
- PMedia_jo
- PMedia_ich glaub, auch wenns länger dauert, bemüh ich gleich gcc ._.
- PMedia_da habsch 3.4.2 von
- PMedia_hach es ist herrlich wenn nichts funktioniet
- PMedia_gcc findet cc1 nich >.>
- PMedia_fuck >.>
- PMedia_wieso sagt mir keiner, dass ld ne .bin und die egtl. Objektdatei erstellt?
- schnippider compiler erstellt die objektdatei
- PMedia_objekt im sinne von zielobjekt
- ThePuppetMasterjemand ne idee, wie ich ne adresse eines labels als wert udn nicht als pointer in esp bringen kann?
- schnippider linker packt alles zusammen und spuckt ne binaerdatei aus
- PMedia_aber trotzdem noch mz
- PMedia_jo mein ich ja
- schnippiPMedia_: was willst du denn? elf?
- PMedia_kA was ich für Grub brauch, ich glaub mal flat
- ThePuppetMasterPE is win binary
- PMedia_moin tyndur
- schnippild: supported targets: pe-i386 pei-i386 elf32-i386 elf32-little elf32-big srec s
- schnippiymbolsrec tekhex binary ihex
- schnippielf32-i386 solltest du mal als target angeben
- schnippisonst baut er dir windowszeug
- PMedia_ah k
- PMedia_also --oformat=elf32-i386 ?
- schnippija
- schnippi --oformat TARGET Specify target of output file
- PMedia_immer noch mz ._.
- ThePuppetMasterjemand ne idee, wie ich ne adresse eines labels als wert udn nicht als pointer in esp bringen kann?
- PMedia_tpm, nein
- schnippihm
- schnippilass mal das = weg
- PMedia_ld: elf32-i386: No such file: No such file or directory :D:D
- ThePuppetMasterPMedia_, so hier:
- schnippiPMedia_: kopier mir mal die zeile
- ThePuppetMasterld -Tbla.ld <name>.o -<tyrgettyp> -o <ausgabebinary>
- PMedia_D:\Projekte\XiOS\kernel>ld -e main -oformat elf32-i386 -Ttext=0x01000 -o xios.bin xios.o
- PMedia_ld: elf32-i386: No such file: No such file or directory
- ThePuppetMasterpm . ohne format
- ThePuppetMastereinafach -elf32bla
- PMedia_ah mal probiern
- ThePuppetMasterbzw
- ThePuppetMaster-melf_i386
- PMedia_D:\Projekte\XiOS\kernel>ld -e main -elf32-i386 -Ttext=0x01000 -o xios.bin xios.o
- PMedia_ld: warning: cannot find entry symbol lf32-i386; defaulting to 00001000
- PMedia_D:\Projekte\XiOS\kernel>ld -e main -melf32-i386 -Ttext=0x01000 -o xios.bin xios.o
- PMedia_ld: unrecognised emulation mode: elf32-i386
- PMedia_Supported emulations: i386pe
- PMedia_D:\Projekte\XiOS\kernel>
- ThePuppetMasterjo
- schnippilol
- ThePuppetMasterjetzt fehlt dir ein _srart
- ThePuppetMasterstart
- schnippidas ist quatsch
- ThePuppetMasterbei mi gehts
- ThePuppetMasterld -Tasix_core.ld asix_core.o -melf_i386 -o asix_core
- PMedia_und wenn ich das mit der platorm ganz weglass, hab ich wieder n mz
- PMedia_menno
- schnippi-melf32-i386 != -melf_i386
- ThePuppetMastersach das dem ausführenden pm :]
- schnippiversuch halt mal -melf_i386
- PMedia_ld: unrecognised emulation mode: elf-i386
- PMedia_Supported emulations: i386pe
- schnippi_ underscore
- PMedia_ich glaub gemäß der letzten Meldung wird das nix, oder?
- PMedia_ah
- schnippioh man