www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++ - segment overflow

↑ ↓ ← trembb22 <trembb22_member pathlink.com> writes:
Is there someone that have a receip to reduce code size like removing inline
code?

link server2,,,wattcpdl/noi;
OPTLINK (R) for Win32  Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved

OPTLINK : Error 19: Segment Size Exceeds 64k : SERVER2_TEXT

--- errorlevel 1
C:\dm>

Tanks

Benoit
Dec 03 2004
↑ ↓ → "Walter" <newshound digitalmars.com> writes:
Try going to a large code model -mm or -ml.

"trembb22" <trembb22_member pathlink.com> wrote in message
news:coq054$1dor$1 digitaldaemon.com...
 Is there someone that have a receip to reduce code size like removing

 code?

 link server2,,,wattcpdl/noi;
 OPTLINK (R) for Win32  Release 7.50B1
 Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved

 OPTLINK : Error 19: Segment Size Exceeds 64k : SERVER2_TEXT

 --- errorlevel 1
 C:\dm>

 Tanks

 Benoit

Dec 05 2004