#lost · 2008-08-29

942 Nachrichten · Seite 2 von 5 · Original-CSV herunterladen

  1. PMediaoder mesa-irc? x)
  2. ThePuppetMaster:]
  3. schnippixchat?
  4. PMediazuviel für den PC...
  5. ThePuppetMasterlol
  6. PMediahab nur 400 MHz unterm Hintern :D
  7. ThePuppetMasterdas klingt nach steinzeot
  8. PMediaisses auch :D
  9. ThePuppetMasternaja
  10. PMedian OS nutzen, das seit 5 Jahren nichmal mehr supportet wird x)
  11. ThePuppetMasterich such ma weiter nach diesen foo stack scheiss
  12. PMediahihi hf, ich kann dir da als letzter weiterhelfen :]
  13. PMediawerd mal erstmal weiterschreiben, dann guck ich mir ld an
  14. schnippihehe
  15. schnippilange nacht?
  16. PMediawelche Nacht? :D
  17. schnippi;)
  18. schnippijo dito..
  19. PMediadafür steh ich auch frühestens aufm Mittag wieder auf :D
  20. PMediaschade dass das Montag wieder vorbei is :(
  21. schnippihehe
  22. PMediald: warning: cannot find entry symbol _mainCRTStartup; defaulting to 00001000 - wonach klingt das für euch?
  23. PMediafür mich klingts nach C-Runtime ._.
  24. schnippijo
  25. PMediaund was hat die C-RT in meinem Kernel verloreN?
  26. schnippivermutlich nichts? ;)
  27. PMediahm und was will dann ld von mir?
  28. PMediaanders, was mach ich dagegen?
  29. schnippild irgendwie dazu bringen, dein entry symbol zu nutzen
  30. schnippikeine ahnung
  31. schnippihast du nen ENTRY eintrag in deinem linkerfile?
  32. PMediawelches linkerfile?
  33. schnippild.conf oder aehnlich ;)
  34. PMediahab ich hier noch nich gesehn :D
  35. schnippiich hab ld -T linker.conf
  36. schnippida stehen die einstellungen fuer ld drin
  37. PMediaich hab einfach das von Freaky empfohlene "ld -oformat=binary -Ttext=0x01000 -o xios xios.o" genommen :D lediglich die Dateinamen angepasst
  38. schnippihttp://rafb.net/p/eezHV942.html so in der art
  39. PMedianen kernel als elf?
  40. schnippihm ja, LOST hat iirc aber auch ne CRT
  41. PMediahmmmmm
  42. PMediaich wollt nix weiter als Hallo Welt in C zu realisiern als Binary, was ich mit Grub laden wollt
  43. schnippiirgendwo hast du doch ein label als einstiegspunkt definiert
  44. PMediajo, main
  45. PMediahm
  46. PMediaich glaub tcc geht mir aufn Sack
  47. PMediaich merk grad, dass meine .o-Datei in Wirklichkeit n Windows-Binary is
  48. PMedia>.>
  49. schnippihm\
  50. schnippikeine ahnung
  51. schnippiich hatte das damals auch nur schnell zusammengehackt und war froh als es lief
  52. PMediammhm
  53. ThePuppetMasterkomishc .... mit nem festgelegten wert für esp gehts, aber mit edem labelnamen nicht
  54. ThePuppetMastermerkwürdig
  55. ThePuppetMasterkennt sich wer mti dem qemu log aus?
  56. ThePuppetMastervorallem op ausgabe
  57. ThePuppetMasterchr
  58. ThePuppetMastera
  59. PMediachar?
  60. ThePuppetMasterjo
  61. schnippija
  62. ThePuppetMasterglaub schoon
  63. PMediada gabs doch noch nen andern?
  64. PMediahm naja dürft auch passen
  65. schnippichar ist 8 bit gross
  66. PMediajo das shco
  67. PMediaaber ich möcht meinen da gabs einen speziell für 8-Bit-Zahlen
  68. PMedianaja, funzt auch so - thx :]
  69. ThePuppetMasterwas issn T0 und A0 -> 0x0001: ldl_kernel_T0_A0
  70. 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?
  71. schnippimom
  72. PMedia_dsl reconn >.>
  73. 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?
  74. schnippidie bin?
  75. schnippija, hab ich auch
  76. PMedia_hm k, ld macht aber immer noch nich mehr :]
  77. schnippinenn dein startsymbol fuers erste doch einfach um :P
  78. schnippiund frag die anderen morgen nochmal
  79. PMedia_hm und iwe? _mainCRTStartup oder wie?
  80. schnippijo
  81. schnippioder ohne unterstrich
  82. 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
  83. PMedia_nö bringt auch nix
  84. schnippiwelche ld version hast du denn?
  85. PMedia_2.15.91
  86. PMedia_vom 04.09.2004 :D
  87. schnippischnippi@tuxworld ~/NoobOS $ ld -v
  88. schnippiGNU ld (GNU Binutils) 2.18
  89. PMedia_hab keine andere da, weil mingw zu "neu" für NT4 is
  90. schnippiversuch mal
  91. PMedia_sprich, der Installer schaffts nich, Dateien nachzuladen :-/
  92. schnippild -e deinstartsymbol <rest>
  93. schnippi -e ADDRESS, --entry ADDRESS Set start address
  94. schnippinen label ist auch nix anderes als ne adresse
  95. PMedia_jo :]
  96. PMedia_was heißt das -Ttext ?
  97. schnippi -Ttext ADDRESS Set address of .text section
  98. PMedia_ah
  99. PMedia_ahhh jezt macht er was :]
  100. schnippihmm klappt es etwa?
  101. PMedia_ähm
  102. PMedia_ne nich wirklich
  103. schnippi:(
  104. PMedia_der kopiert jetz einfach meine objektdatei ins binary ._.
  105. PMedia_sprich, xios.bin und xios.o sind identisch ._.
  106. PMedia_ich weiß nichmal, ob meine main überhaupt so richtig is x)
  107. PMedia_nie C programmiert, is iwie n komisches Gefühl
  108. PMedia_http://www.nopaste.com/p/a3UR1CVJi - so habsch des gemacht
  109. schnippidas sollte schon tun
  110. PMedia_cool :]
  111. schnippiwo ist dein grub multibootheader?
  112. PMedia_hm noch nich da :D
  113. PMedia_'s sollte nur erstmal compilen
  114. schnippischau doch einfach mal im wiki, da gibts doch c+grub tuts
  115. PMedia_jo ich weiß
  116. PMedia_aber is der für ld zwangsweise nötig?
  117. schnippinein
  118. PMedia_naja dann sollte das doch rein theo soweit tun :D
  119. PMedia_grub wird mir zwar sagen, checksum stimmt nich unso (kensch ja scho) aber dahin muss ich erstmal kommen
  120. PMedia_wobei... *idee*
  121. schnippijo
  122. schnippilinken sollte er das auch so, damit hat der header nichts zu tun
  123. schnippihast du es auch schon mit -e _main versucht?
  124. PMedia_hmm mist
  125. PMedia_ne
  126. PMedia_mom
  127. schnippikann sein dass dein compiler den unterstrich mit anhaengt
  128. PMedia_scho kommt wieder die Warnung, dass er es nich gefunden hätte
  129. PMedia_ähm fuck, bin ich dumm?
  130. schnippimoeglich
  131. schnippiwas denn?
  132. PMedia_jo ich bin dumm, wenn man sich die falsche Datei im Hexeditor ansieht is klar, dass sich beide Datein sehr ähneln
  133. PMedia_soah, ld hat mir nen MZ-Header reingebastelt, warum auch immer, ich hab egtl -oformat=binary drin
  134. schnippihm
  135. schnippiMZ ist doch windows binary oder nicht?
  136. PMedia_jo
  137. PMedia_ich glaub, auch wenns länger dauert, bemüh ich gleich gcc ._.
  138. PMedia_da habsch 3.4.2 von
  139. PMedia_hach es ist herrlich wenn nichts funktioniet
  140. PMedia_gcc findet cc1 nich >.>
  141. PMedia_fuck >.>
  142. PMedia_wieso sagt mir keiner, dass ld ne .bin und die egtl. Objektdatei erstellt?
  143. schnippider compiler erstellt die objektdatei
  144. PMedia_objekt im sinne von zielobjekt
  145. ThePuppetMasterjemand ne idee, wie ich ne adresse eines labels als wert udn nicht als pointer in esp bringen kann?
  146. schnippider linker packt alles zusammen und spuckt ne binaerdatei aus
  147. PMedia_aber trotzdem noch mz
  148. PMedia_jo mein ich ja
  149. schnippiPMedia_: was willst du denn? elf?
  150. PMedia_kA was ich für Grub brauch, ich glaub mal flat
  151. ThePuppetMasterPE is win binary
  152. PMedia_moin tyndur
  153. schnippild: supported targets: pe-i386 pei-i386 elf32-i386 elf32-little elf32-big srec s
  154. schnippiymbolsrec tekhex binary ihex
  155. schnippielf32-i386 solltest du mal als target angeben
  156. schnippisonst baut er dir windowszeug
  157. PMedia_ah k
  158. PMedia_also --oformat=elf32-i386 ?
  159. schnippija
  160. schnippi --oformat TARGET Specify target of output file
  161. PMedia_immer noch mz ._.
  162. ThePuppetMasterjemand ne idee, wie ich ne adresse eines labels als wert udn nicht als pointer in esp bringen kann?
  163. PMedia_tpm, nein
  164. schnippihm
  165. schnippilass mal das = weg
  166. PMedia_ld: elf32-i386: No such file: No such file or directory :D:D
  167. ThePuppetMasterPMedia_, so hier:
  168. schnippiPMedia_: kopier mir mal die zeile
  169. ThePuppetMasterld -Tbla.ld <name>.o -<tyrgettyp> -o <ausgabebinary>
  170. PMedia_D:\Projekte\XiOS\kernel>ld -e main -oformat elf32-i386 -Ttext=0x01000 -o xios.bin xios.o
  171. PMedia_ld: elf32-i386: No such file: No such file or directory
  172. ThePuppetMasterpm . ohne format
  173. ThePuppetMastereinafach -elf32bla
  174. PMedia_ah mal probiern
  175. ThePuppetMasterbzw
  176. ThePuppetMaster-melf_i386
  177. PMedia_D:\Projekte\XiOS\kernel>ld -e main -elf32-i386 -Ttext=0x01000 -o xios.bin xios.o
  178. PMedia_ld: warning: cannot find entry symbol lf32-i386; defaulting to 00001000
  179. PMedia_D:\Projekte\XiOS\kernel>ld -e main -melf32-i386 -Ttext=0x01000 -o xios.bin xios.o
  180. PMedia_ld: unrecognised emulation mode: elf32-i386
  181. PMedia_Supported emulations: i386pe
  182. PMedia_D:\Projekte\XiOS\kernel>
  183. ThePuppetMasterjo
  184. schnippilol
  185. ThePuppetMasterjetzt fehlt dir ein _srart
  186. ThePuppetMasterstart
  187. schnippidas ist quatsch
  188. ThePuppetMasterbei mi gehts
  189. ThePuppetMasterld -Tasix_core.ld asix_core.o -melf_i386 -o asix_core
  190. PMedia_und wenn ich das mit der platorm ganz weglass, hab ich wieder n mz
  191. PMedia_menno
  192. schnippi-melf32-i386 != -melf_i386
  193. ThePuppetMastersach das dem ausführenden pm :]
  194. schnippiversuch halt mal -melf_i386
  195. PMedia_ld: unrecognised emulation mode: elf-i386
  196. PMedia_Supported emulations: i386pe
  197. schnippi_ underscore
  198. PMedia_ich glaub gemäß der letzten Meldung wird das nix, oder?
  199. PMedia_ah
  200. schnippioh man