China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-01 00:06
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » Question about DJGPP/GPP 3.2.2 View 1,336 Replies 3
Original Poster Posted 2003-06-30 00:00 ·  中国 台湾 远传电信
初级用户
Credits 136
Posts 9
Joined 2003-06-30 00:00
23-year member
UID 6154
Gender Male
Status Offline
DJGPP environment: all the latest official versions

My code should be fully ANSI C++, so it really shouldn't be going wrong.
When using DJGPP/GPP 3.2.2 to compile the following source code:

#include
#include
using namespace std;
int main(void)
{
basic_string uls;

uls+=static_cast(0);
cout << uls;

return 0;
}

it won't get past the linker stage, but if I use GPP 2.95.3, there's no problem.
This issue has been bothering me for a long time. From bloodshed I learned that it's best to recompile GCC.
I also followed the steps in the official DJGPP readme.djgpp, but it stopped at djmake.sh

I wonder if any expert here can help answer this, thanks!
Floor 2 Posted 2003-07-03 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Dark-Destroy is familiar with DJGPP now, come say something quick...
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 3 Posted 2003-07-03 00:00 ·  中国 台湾 台南市 远传电信
元老会员
★★★★★
Credits 8,312
Posts 3,551
Joined 2003-03-22 00:00
23-year member
UID 1225
Gender Male
Status Offline
Dizzy..
I'm still not very familiar with DJGPP....
MSN:tiqit2@hotmail.com
Floor 4 Posted 2003-07-05 00:00 ·  中国 台湾 远传电信
初级用户
Credits 136
Posts 9
Joined 2003-06-30 00:00
23-year member
UID 6154
Gender Male
Status Offline
Could someone please be kind enough to answer this if you know.

If I use the latest official release, I still can't link the above source code.
Are the other DJGPP users here seeing the same thing too?
Forum Jump: