DJPGG asm errors

This is a discussion on DJPGG asm errors within the C++ Programming forums, part of the General Programming Boards category; This could belong in the tech forum, but it is about a C compiler, sooo.... Using the DJGPP compiler, calling ...

  1. #1
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    1,390

    DJPGG asm errors

    This could belong in the tech forum, but it is about a C compiler, sooo....

    Using the DJGPP compiler, calling asm() gives me errors. No matter what I use as the argument, it says "Error : Error : no such asm command". (Or somthing to that effect.)

    Why is that? Also, the header file it pops me into upon checking the error is some weird temp path, not a valid header file (to my knowledge, anyway).
    I don't see why people think Chuck Norris is so awesome. If he was really as great as they say, he would be over here slamming my head into the keybsk;lah;flksalfksdnlcslcnsldk;acklsd;glfbaskfl

    /* When I wrote this, only God and I understood what I was doing... Now, God only knows */

  2. #2
    Registered User
    Join Date
    Dec 2007
    Location
    North Georgia Mountains
    Posts
    11
    DJBPP is supposed to be a port of GCC - check http://www.ibiblio.org/gferg/ldp/GCC...-HOWTO.html#s3
    sections 3, 4 and 5.
    If you cannot resolve the issue directly, you may want to try to find an Intel assembler, create the function in assembler and then link in the obj file.

    tom

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Ten Errors
    By AverageSoftware in forum Contests Board
    Replies: 0
    Last Post: 07-20-2007, 10:50 AM
  2. ASM beginner gets 24 compiler errors on hello world...
    By Desolation in forum Tech Board
    Replies: 12
    Last Post: 06-16-2007, 10:21 PM
  3. Understanding ASM
    By kuphryn in forum A Brief History of Cprogramming.com
    Replies: 26
    Last Post: 07-12-2002, 07:39 PM
  4. asm mov
    By manu in forum C++ Programming
    Replies: 1
    Last Post: 12-15-2001, 11:59 AM
  5. My graphics library
    By stupid_mutt in forum C Programming
    Replies: 3
    Last Post: 11-26-2001, 05:05 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21