Message-ID: <37D7DF2D.282B9CD9@swipnet.se> From: Anders David Skarin X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: ASM dans DJGPP [question in english) References: <001f01bef9df$06705180$21d5fac1 AT mathieu-laroye> Content-Type: text/plain; charset=x-user-defined Content-Transfer-Encoding: 8bit Lines: 58 NNTP-Posting-Host: 130.244.44.71 X-Complaints-To: news-abuse AT swip DOT net X-Trace: nntpserver.swip.net 936894448 130.244.44.71 (Thu, 09 Sep 1999 18:27:28 MET DST) NNTP-Posting-Date: Thu, 09 Sep 1999 18:27:28 MET DST Organization: A Customer of Tele2 X-Sender: s-437261 AT dialup44-2-7 DOT swipnet DOT se Date: Thu, 09 Sep 1999 18:24:13 +0200 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, As the previous answere pointed out DJGPP will not call NASM but if your are using a makefile you can let all the .S be handled by GAS and all the .ASM be handled by NASM. Do like this in your makefile: # Compilers CC = gcc AS = nasm # Flags CFLAGS = // C-Flags you want to use AFLAGS = ; ASM-Flags # Project name, and parts PRGOUT = test OBJECTS = main.o \ pcxgfx.o \ vbe2a.o all: do-all do-all: $(PRGOUT) $(PRGOUT): ${OBJECTS} ${CC} $(CFLAGS) ${OBJECTS} $(LFLAGS) -o $(PRGOUT) %.o : %.cpp ; $(CC) $(CFLAGS) -c $< %.o : %.asm ; $(AS) $(AFLAGS) -f coff $< // Now all .ASM files will be handled by NASM %.o : %.s ; $(CC) $(CFLAGS) -c $< // And all .S by GAS "Mathieu.LAROYE" wrote: > > Thank you for the answer which already reached me. With DJGPP one can use > the ASM but it is difficult. I prefere to use Nasm which is easier. But I > does not know how to make so that DJGPP compiles my commands ASM with Nasm > and not its assembler interns (Gasm) > A+ > > Mathieu > Thank for DJGPP ! > > -----Message d'origine----- > De : DJ Delorie > Groupes de discussion : comp.os.msdos.djgpp > À : djgpp AT delorie DOT com > Date : mardi 7 septembre 1999 22:27 > Objet : Re: ASM dans DJGPP > > > > >> Would you please switch to english! > > > >It's rude to ask people to speak your language, when you don't speak > >theirs either. Please refrain from such askings. Yes, I know most > >people here *do* speak English, but that doesn't mean it's *required*.