| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | GCC/2 Installing Probs. |
Hello All,
I'm using GCC/2 for OS/2 and I have some minor Problems.
Following Program gives the output to unresolved externals from the linker.
I hope that anybody has any suggestions or hints for me.
here Program
#include
void main (void)
{
printf ("Hello world . . . ");
}
>The linker produces following error:
d:\gcc\gcc2\lib\LIBCRT.lib(crt1.obj) : error L2029: '__dynamic_crt1' :
unresolved external
d:\gcc\gcc2\lib\LIBCRT.lib(gnulib3.obj) : error L2029:
'__dllctor_execute_ctors' : unresolved external
d:\gcc\gcc2\lib\LIBCRT.lib(gnulib3.obj) : error L2029:
'__dllctor_execute_dtors' : unresolved external
bbslist.obj(bbslist.obj) : error L2029: '_puts' : unresolved external
bbslist.obj(bbslist.obj) : error L2029: '_printf' : unresolved external
d:\gcc\gcc2\lib\LIBCRT.lib(gnulib3.obj) : error L2029: '_atexit' :
unresolved external
There were 6 errors detected
>Settings from Config.sys:
LIBPATH=.;D:\OS2\DLL;D:\OS2\MDOS;D:\;D:\OS2\APPS\DLL;D:\BACKMAST;C:\DSDEMO;D:\G
C C\GCC2\DLL;D:\GCC\GCC2\LIB;D:\READIBM2;
SET
PATH=D:\OS2;D:\OS2\SYSTEM;D:\OS2\INSTALL;D:\;D:\OS2\MDOS;D:\OS2\APPS;D:\;C:\
PACK\;C:\PACKOS2;D:\OS2\DLL;C:\GW;C:\LORA;C:\LORA\TIMED\OS2;C:\LORA\GECHO;D:\SI
O
;D:\OS2TOOLS;D:\OS2PACK;D:\OS2COM;C:\DSDEMO;D:\GCC\GCC2\BIN;D:\GCC\GCC2\LIB;D:\
R EADIBM2;
SET TMP=D:\TMP
SET MAN=PMMAN D:\GCC\GCC2\MAN
REM --- Settings for GNU C Compiler starts here ---
set GCC2=d:\gcc\gcc2
REM set INCLUDE=c:\gcc2\os2incl
set LIB=d:\gcc\gcc2\lib
set TMPDIR=d:\gcc\gcc2\tmp
REM --- Settings for GNU C Compiler starts here ---
Thank u very much
Andreas
--- GEcho 1.11+
* Origin: -= CCSH =-, Eichenzell (2:244/6403)SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407 SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809 @PATH: 244/6403 6100 24/999 2/777 105/42 712/515 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.