delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/17/20:01:34

From: Waldemar Schultz <schultz AT ma DOT tum DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: RSXIDE 1.2 linking
Date: Thu, 17 Feb 2000 12:18:14 +0100
Organization: [posted via] Leibniz-Rechenzentrum, Muenchen (Germany)
Lines: 27
Message-ID: <38ABD8F6.78947E5F@ma.tum.de>
NNTP-Posting-Host: pcritter10.mathematik.tu-muenchen.de
Mime-Version: 1.0
X-Trace: wsc10.lrz-muenchen.de 950786295 2456 131.159.69.74 (17 Feb 2000 11:18:15 GMT)
X-Complaints-To: news AT lrz-muenchen DOT de
NNTP-Posting-Date: 17 Feb 2000 11:18:15 GMT
X-Mailer: Mozilla 4.7 [de] (Win98; I)
X-Accept-Language: de,en,en-US
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Triying to MAKE a trivial project (W32: simple_window.c from samples)
produces the following MAKE Window:

gcc -c -o s_w.o s_w.c -Zwin32 -O2 -Wall
s_w.c: In function `WinMain':
s_w.c:42: warning: assignment makes integer from pointer without a cast
gcc -Zwin32 -s -o s_w.exe s_w.o
e:/rsxntdj/lib/crt0w32.o(.data+0x402000):fake: reloc refers to symbol `text'
which is not being output
e:/rsxntdj/lib/crt0w32.o(.data+0x402008):fake: reloc refers to symbol `data'
which is not being output
s_w.o(.text+0x4010b3):s_w.c: reloc refers to symbol `data' which is not being
output
s_w.o(.text+0x4010c8):s_w.c: reloc refers to symbol `text' which is not being
output
s_w.o(.text+0x40110f):s_w.c: reloc refers to symbol `data' which is not being
output
s_w.o(.text+0x40113c):s_w.c: reloc refers to symbol `text' which is not being
output
s_w.o(.text+0x401141):s_w.c: reloc refers to symbol `text' which is not being
output
s_w.o(.text+0x40114b):s_w.c: reloc refers to symbol `data' which is not being
output
====many (~50) such lines follow
make.exe: *** [s_w.exe] Error 1

Where is my mistake? I'd really like to be able to use the IDE :-)

- Raw text -


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