🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #648

library in gcc; program in acc; undefined builtin_saveregs

#648
From: David Cogen
Date: Mon, 16 Nov 1992 07:35
12 lines
910 bytes
I am building my library with gcc. One of the functions calls va_start, for
which I am #including stdarg.h

The main program is compiled with acc. I have no control over this. It uses the
function in my library which calls va_start. When I link I get an error
"undefined __builtin_saveregs".

What can I do about this? Note that there is no way I can use gcc for the main
program, but I would like to be able to use it for the library which I am
developing. 

David Cogen.
Technical Details
Message-ID: <9211161235.AA03609@LL.MIT.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!wupost!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ll.mit.edu!cogen

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!wupost!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ll.mit.edu!cogen
From: cogen@ll.mit.edu (David Cogen)
Subject: library in gcc; program in acc; undefined builtin_saveregs
Message-ID: <9211161235.AA03609@LL.MIT.EDU>
Sender: daemon@cis.ohio-state.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Mon, 16 Nov 1992 07:35:19 GMT
Lines: 13