From: Mikael A. <mik...@te...> - 2004-02-06 23:22:28
|
If it's just the syntax that bothers you with gas then you can tell gas to use intel syntax instead with: .intel_syntax Mikael ----- Original Message ----- From: "David LeCount" <sna...@ya...> To: <min...@li...> Sent: Friday, February 06, 2004 10:30 PM Subject: Re: [Mingw-users] Trying to get mingw to work with nasm > Ok, some answers. With Nasm, I'm only making an object > file, so I didn't figure it mattered if it was elf or > something else. I've changed it to win32 and still the > same thing. > > As for interrupts, I'm really making it a dos program. > I can get away with using those interrupts in that > case, can't I? Isn't that how the Dos format command > works? I know I've accessed the video card like that. > > And finally, as for not using gas, it uses the AT&T > syntax which is a lot different than the Intel syntax > I've became familiar with. I might as well learn a new > language. I think I'll pass on that. > > I'll keep working on it and let you guys know if I > come up with something. > > --- Earnie Boyd <ea...@us...> wrote: > > David LeCount wrote: > > > > > > > > nasm -f elf format.asm > > > /usr/local/i386-mingw32msvc/bin/gcc -fpack-struct > > > main.c format.o -o format.exe > > > > > > > How about trying the assembler compile with the GCC > > tools? > > > > Earnie > > -- > > http://www.mingw.org > > http://sourceforge.net/projects/mingw > > > https://sourceforge.net/donate/index.php?user_id=15438 > > > > > > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by EclipseCon 2004 > > Premiere Conference on Open Tools Development and > > Integration > > See the breadth of Eclipse activity. February 3-5 in > > Anaheim, CA. > > http://www.eclipsecon.org/osdn > > _______________________________________________ > > MinGW-users mailing list > > Min...@li... > > > > You may change your MinGW Account Options or > > unsubscribe at: > > > https://lists.sourceforge.net/lists/listinfo/mingw-users > > > __________________________________ > Do you Yahoo!? > Yahoo! Finance: Get your refund fast by filing online. > http://taxes.yahoo.com/filing.html > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > MinGW-users mailing list > Min...@li... > > You may change your MinGW Account Options or unsubscribe at: > https://lists.sourceforge.net/lists/listinfo/mingw-users |