Re: Linker error

From: Mr Dygi (dygimailNo_at_SPAMpoczta.fm)
Date: 01/19/04


Date: Mon, 19 Jan 2004 09:05:20 +0000 (UTC)


"Matt Taylor" <para@tampabay.rr.com> wrote in
news:MFCOb.24652$Bj.22349@twister.tampabay.rr.com:

> You're not trying to use masm32 are you? Usually you get errors like
> then when writing 16-bit code for a 32-bit program. Linux and Windows
> are both 32-bit. DOS is 16-bit for the most part. (DOS has 32-bit
> extensions, but I highly doubt you're using them.)

True. I thought I can use 32-bit linker for 16-bit code. But there is
another problem now. When I try to use 16-bit tasm compiler and linker,
these errors occur:

+ tasm /t new.txt =>

bad command or filename
bad command or filename
bad command or filename

[result: file new.obj created]

+ tlink new.obj =>

Error: Invalid entry point offset
Warning: No stack

+ type new.map [DOS shell] =>

 Start Stop Length Name Class

 00000H 000FFH 00100H _TEXT CODE
 00100H 00100H 00000H _DATA DATA

Error: Invalid entry point offset
Program entry point at 0000:0000
Warning: No stack

-- 
pozdr.  Dygi [GG 1027078]
dygimail(at)poczta(dot)fm


Relevant Pages

  • Re: Linker error
    ... > bad command or filename ... > Error: Invalid entry point offset ... > Warning: No stack ...
    (comp.lang.asm.x86)
  • Re: Excluding a lib from linking
    ... Concerning choice and inclusion of .lib files, it seems that the linker ... - the command line; ... Like you, i have tried the pragma directive with /nodefaultlib, without any ... I have a kind of solution, but it is necessary to remove the lib file in the ...
    (microsoft.public.vc.language)
  • Re: Linking issue
    ... Looks to me like the usual ordering problem with the command line. ... the *First* thing that happens is that the linker ... confusions because there is already a system command named test. ...
    (comp.lang.fortran)
  • Re: Why cant it find odbc32.lib? Its there.
    ... set additional directories for compiler and linker for ... specific project in project settings. ... I made sure the Lib and Include directories in the Platform SDK were ... Now the command line build is complaining about not finding ...
    (microsoft.public.vc.language)
  • Re: linkage problems when building a VC7.1 project from the command line
    ... at least one problem seems to be that your link command does not take object files as inputs. ... If I look at a random link command on my system, it contains a list of object files to link together. ... Creating temporary file "c:\timer\Debug\RSP000007.rsp" with contents ... What are these .rsp (linker response) files and how may I re-create them on the command line? ...
    (microsoft.public.dotnet.languages.vc)