www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/12/10/18:08:54

Date: Fri, 10 Dec 93 17:13:20 -0500
From: DJ Delorie <dj AT ctron DOT com>
To: peprbv AT cfa0 DOT harvard DOT edu
Cc: michaels AT vsl DOT com DOT au, djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: 1.11 undefined reference for 'int86'

> >  gcc -o app $(OBJS) -lvogle -lgrx -ltcl -lm -lpc
> > and I get an error thus:
> >  intdos.c (.text+c): undefined reference to 'int86'
> > Using nm I found int86 in libc.a so what's going wrong?

> Don't you need a -lc as well?

gcc automatically adds -lc.

"int86" is in libc.a in libsrc/c/dos/int86x.s


- Raw text -


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