www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/12/01/14:15:17

From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: AT&T inline asm in DJGPP...
Date: 1 Dec 2002 18:36:17 GMT
Organization: Ericsson Erisoft AB, Sweden
Lines: 31
Message-ID: <asdkr1$l1h$1@antares.lu.erisoft.se>
References: <uuhr3lgi6qsc7f AT corp DOT supernews DOT com> <uuit0ko46e2k55 AT corp DOT supernews DOT com> <asd396$b6o$1 AT antares DOT lu DOT erisoft DOT se> <uukh53j0eco0f1 AT corp DOT supernews DOT com>
NNTP-Posting-Host: lws256.lu.erisoft.se
X-Newsreader: TIN [version 1.2 PL2]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

lewi9908 (lewi9908 AT ghc DOT ctc DOT edu) wrote:
: Ker.asm(built by NASM)
: [BITS 32]

:  GLOBAL _OutputText

: _OutputText:
...

: Ker.cpp(Also I am going to build a C++ kernel and not just a C kernel so I
: need Ker.cpp)
: extern "C" void OutputText(char* pOutStr, int iVideoMemIndex);

: int main()
: {
:     OutputText("Hello, world!", 22);

:     //Just comments here...
:     return 0;
: }

: What is the problem now...

What does "nm Ker.o | grep OutputText" and say? And the same for the
.o made from Ker.asm. (I hope they are in different directories
otherwise they'll overwrite each other.)


Right,

						MartinS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019