Thread: DJPGG asm errors

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

    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).

  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, 12:59 PM
  5. My graphics library
    By stupid_mutt in forum C Programming
    Replies: 3
    Last Post: 11-26-2001, 06:05 PM