🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.os2.programmer
1 messages
1 total messages Started by Robert J. Manley Fri, 24 Jul 1992 19:39
non-emx gcc with IBM toolkit
#457
Author: Robert J. Manley
Date: Fri, 24 Jul 1992 19:39
30 lines
1561 bytes
Hopefully a simple question for you OS/2 2.00 gcc (non-emx) gurus.

I want to use this version of gcc with the IBM developer's toolkit.  I have
the icc2gcc file but it looks like it is relevant only for the emx version
(it is very nice though).  In the docs it does mention the neccessary trivial
defines (e.g. _Seg16) which allow the compiler to successfully parse the
include files.  Furthermore, I have overridden the default "C++" calling
context via the explicit language specification of

	extern "C"
	{
		#include <os2.h>
	}

The problem I am having is that the os2386 libs seem to have ASM symbols
i.e. no underscore and case insensitive.  The latter I can live with but the
lack of underscores is producing unresolved externals which I can't seem to
get around.  Now the question is, can I stop gcc from prepending underscores
to "C" functions (already tried -mno-underscores) or alternatively specify
another language (tried "ASM" and a bunch of others) to accomplish this.

Thanks in advance.

Robert.
-- 
# Robert J. Manley,  rjm@dretor.dciem.dnd.ca		#
# #include <std_disclaimer.hpp>				#
# NTT Systems Inc., Toronto, Ontario, CANADA		#
# Long Live Lint (C++ long ints that is!)		#
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads