From: "Fredrik Hellman" Newsgroups: comp.os.msdos.djgpp References: <3A5A150E DOT E6EE5A6 AT telia DOT com> <200101081952 DOT OAA05184 AT envy DOT delorie DOT com> <200101082108 DOT QAA05839 AT envy DOT delorie DOT com> Subject: SV: SV: Strange function addresses Lines: 44 Organization: Freli X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Message-ID: <%4H66.4380$AH6.751294@newsc.telia.net> Date: Tue, 09 Jan 2001 16:35:07 GMT NNTP-Posting-Host: 62.20.144.121 X-Complaints-To: abuse AT telia DOT com X-Trace: newsc.telia.net 979058107 62.20.144.121 (Tue, 09 Jan 2001 17:35:07 CET) NNTP-Posting-Date: Tue, 09 Jan 2001 17:35:07 CET To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I am sorry for writing that many replies :-). I use this Makefile: CC = gcc CFLAGS = -I ./include -c -Wall -march=i386 -ffreestanding OBJECTS = test2.o testker.o misc.o console.o string.o math.o printk.o vsprintf.o ASM = nasmw ASMFLAGS = -f aout DELETE = del kernel.com : $(OBJECTS) ld $(OBJECTS) -o kernel.com -oformat binary -Ttext 0x100 %.o : %.c $(CC) $(CFLAGS) $< %.o : %.asm $(ASM) $(ASMFLAGS) $< clean : $(DELETE) *.o test2.o is compiles with nasm for windows, while all the other files are written in C and compiled with DJGPP's gcc. -oformat binary makes the output plain binary. Fredrik Hellman DJ Delorie skrev i diskussionsgruppsmeddelandet:200101082108 DOT QAA05839 AT envy DOT delorie DOT com... > > > I found out that the debuggers you were refering doesn't support plain > > binary executable format. Does edebug support that? In that case, where can > > I download it? > > There's no such thing as "plain binary executable" format in DJGPP. > DJGPP only produces stubbed coff executables. How, exactly, are you > creating this executable file?