borland c compiler 4.5

This is a discussion on borland c compiler 4.5 within the C Programming forums, part of the General Programming Boards category; hallo does any help me to download a borland c compiler version 4.5x or when i compile with borland 5.5 ...

  1. #1
    Registered User
    Join Date
    Dec 2003
    Posts
    20

    borland c compiler 4.5

    hallo
    does any help me to download a borland c compiler version 4.5x or

    when i compile with borland 5.5 i have the following errors

    Error: Unresolved external '_PC_DispClrScr' referenced from C:\SOFTWARE\UCOS-II\
    EX1_X86L\BC45\SOURCE\TEST.OBJ

    how to solvethis prob

    thanx
    khaja

  2. #2
    Master of the Universe! velius's Avatar
    Join Date
    Sep 2003
    Posts
    219
    You are either missing a .lib file to link with or you forgot to include a header in your source.
    While you're breakin' down my back n'
    I been rackin' out my brain
    It don't matter how we make it
    'Cause it always ends the same
    You can push it for more mileage
    But your flaps r' wearin' thin
    And I could sleep on it 'til mornin'
    But this nightmare never ends
    Don't forget to call my lawyers
    With ridiculous demands
    An you can take the pity so far
    But it's more than I can stand
    'Cause this couchtrip's gettin' older
    Tell me how long has it been
    'Cause 5 years is forever
    An you haven't grown up yet
    -- You Could Be Mine - Guns N' Roses

  3. #3
    Registered User
    Join Date
    Dec 2003
    Posts
    20
    this is the structure of the c files
    all the lib files and header files are in place
    can u find any mistake
    thanx
    see pic attached

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,548
    > see pic attached
    I see no pics

    My guess is that BC4.5 is a DOS compiler, and you're compiling a DOS program.

    BC5.5 is a win32 console compiler, and many of the old DOS API calls have gone. If you really want an effective answer, then you should really be looking to port your code to the newer environment.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  5. #5
    Registered User
    Join Date
    Dec 2003
    Posts
    20

    bc 4.5x version

    hallo
    thank you for ur reply
    do u know where i can get 4.5x version of c compiler ?
    regards
    khaja

  6. #6
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,548
    > do u know where i can get 4.5x version of c compiler ?
    It's not a legitimate free download as far as I know.

    Perhaps you should try ebay or maybe even Borland themselves - they have their own community message board, much like this one.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  7. #7
    Registered User
    Join Date
    Dec 2003
    Posts
    20

    Real Mode or protected mode ,borland ver5.5

    hi

    Can the Borland 5.5 produce code in REAL MODE, large model or does it only compile to protected mode code?

    thanx
    khaja

  8. #8
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,548
    > Can the Borland 5.5 produce code in REAL MODE
    As far as I know, this is only a win32 console compiler.

    Sooner or later, you're going to have to let go of the past and get a more up to date compiler for your more up to date OS.

    Try www.compilers.net for some free compilers
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  9. #9
    Registered User
    Join Date
    Dec 2003
    Posts
    20
    but the problem is the test program i am trying to compile in the book microc/os-ii by jean labrosse says i have to use a borland 4.5 compiler .

    but when i managed to compile with 5.5 , there is a error sayin the exe is not a valid win32 application

    how else is it possible to run this exe or is there a way to compile this program with ver5.5 , making it able to run in windows
    thanx

  10. #10
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Posts
    5,006
    Have you been to http://www.ucos-ii.com/ and checked out the ports? There was this document.
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

  11. #11
    Registered User
    Join Date
    Dec 2003
    Posts
    20

    ver5.5

    there is a port for ver5.2 borland compiler but not for ver5.5.1 or ver5.6 which is available as a free download from borland

  12. #12
    Registered User
    Join Date
    Dec 2003
    Posts
    20

    thank you

    thank you Salem and Dave_Sinkula
    i was able to compile the test programs with a port
    reg
    khaja

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 01:30 PM
  2. Compiler Paths...
    By Cobra in forum C++ Programming
    Replies: 5
    Last Post: 09-26-2006, 04:04 AM
  3. C Compiler and stuff
    By pal1ndr0me in forum C Programming
    Replies: 10
    Last Post: 07-21-2006, 11:07 AM
  4. I can't get this new compiler to work.
    By Loduwijk in forum C++ Programming
    Replies: 7
    Last Post: 03-29-2006, 05:42 AM
  5. how to call a compiler?
    By castlelight in forum C Programming
    Replies: 3
    Last Post: 11-22-2005, 10:28 AM

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