www.digitalmars.com         C & C++   DMDScript  

c++ - Below 100h cannot be initialized error

reply "Wichetael" <wichetael gmx.net> writes:
I'm trying to compile/link a program towards a binary target, however I get
the following error:

Below 100H Cannot Be Initialized
While creating a .com file, an attempt to initialize data areas at an
address lower than 0100h was detected.

Which of course would be fine were I createing a .com file, I am not however
and thus am unable to get the desired result.

So, if you could, please make this error non-fatal or better yet allow for
it to be disabled.

Regards, Remko
Jun 16 2003
parent reply "Walter" <walter digitalmars.com> writes:
What's your linker command line?

"Wichetael" <wichetael gmx.net> wrote in message
news:bcldhj$2lbf$1 digitaldaemon.com...
 I'm trying to compile/link a program towards a binary target, however I
get
 the following error:

 Below 100H Cannot Be Initialized
 While creating a .com file, an attempt to initialize data areas at an
 address lower than 0100h was detected.

 Which of course would be fine were I createing a .com file, I am not
however
 and thus am unable to get the desired result.

 So, if you could, please make this error non-fatal or better yet allow for
 it to be disabled.

 Regards, Remko
Jun 17 2003
parent reply "Wichetael" <wichetael gmx.net> writes:
link start+menu,menu.c32,,user32+kernel32/noi/BI:0x101000/ENTRY:_start;

"Walter" <walter digitalmars.com> wrote in message
news:bcnbi4$1bdm$1 digitaldaemon.com...
 What's your linker command line?

 "Wichetael" <wichetael gmx.net> wrote in message
 news:bcldhj$2lbf$1 digitaldaemon.com...
 I'm trying to compile/link a program towards a binary target, however I
get
 the following error:

 Below 100H Cannot Be Initialized
 While creating a .com file, an attempt to initialize data areas at an
 address lower than 0100h was detected.

 Which of course would be fine were I createing a .com file, I am not
however
 and thus am unable to get the desired result.

 So, if you could, please make this error non-fatal or better yet allow
for
 it to be disabled.

 Regards, Remko
Jun 17 2003
parent reply "Walter" <walter digitalmars.com> writes:
The /BI flag means create a com file.

"Wichetael" <wichetael gmx.net> wrote in message
news:bcne4a$1dv0$1 digitaldaemon.com...
 link start+menu,menu.c32,,user32+kernel32/noi/BI:0x101000/ENTRY:_start;

 "Walter" <walter digitalmars.com> wrote in message
 news:bcnbi4$1bdm$1 digitaldaemon.com...
 What's your linker command line?

 "Wichetael" <wichetael gmx.net> wrote in message
 news:bcldhj$2lbf$1 digitaldaemon.com...
 I'm trying to compile/link a program towards a binary target, however
I
 get
 the following error:

 Below 100H Cannot Be Initialized
 While creating a .com file, an attempt to initialize data areas at an
 address lower than 0100h was detected.

 Which of course would be fine were I createing a .com file, I am not
however
 and thus am unable to get the desired result.

 So, if you could, please make this error non-fatal or better yet allow
for
 it to be disabled.

 Regards, Remko
Jun 17 2003
parent reply "Wichetael" <wichetael gmx.net> writes:
Shouldn't it mean creating a flat binary instead, of which a com file is of
course one example...

"Walter" <walter digitalmars.com> wrote in message
news:bcng63$1frd$1 digitaldaemon.com...
 The /BI flag means create a com file.

 "Wichetael" <wichetael gmx.net> wrote in message
 news:bcne4a$1dv0$1 digitaldaemon.com...
 link start+menu,menu.c32,,user32+kernel32/noi/BI:0x101000/ENTRY:_start;

 "Walter" <walter digitalmars.com> wrote in message
 news:bcnbi4$1bdm$1 digitaldaemon.com...
 What's your linker command line?

 "Wichetael" <wichetael gmx.net> wrote in message
 news:bcldhj$2lbf$1 digitaldaemon.com...
 I'm trying to compile/link a program towards a binary target,
however
 I
 get
 the following error:

 Below 100H Cannot Be Initialized
 While creating a .com file, an attempt to initialize data areas at
an
 address lower than 0100h was detected.

 Which of course would be fine were I createing a .com file, I am not
however
 and thus am unable to get the desired result.

 So, if you could, please make this error non-fatal or better yet
allow
 for
 it to be disabled.

 Regards, Remko
Jun 17 2003
parent "Walter" <walter digitalmars.com> writes:
Yes.

"Wichetael" <wichetael gmx.net> wrote in message
news:bcnich$1i0l$1 digitaldaemon.com...
 Shouldn't it mean creating a flat binary instead, of which a com file is
of
 course one example...

 "Walter" <walter digitalmars.com> wrote in message
 news:bcng63$1frd$1 digitaldaemon.com...
 The /BI flag means create a com file.

 "Wichetael" <wichetael gmx.net> wrote in message
 news:bcne4a$1dv0$1 digitaldaemon.com...
 link
start+menu,menu.c32,,user32+kernel32/noi/BI:0x101000/ENTRY:_start;
 "Walter" <walter digitalmars.com> wrote in message
 news:bcnbi4$1bdm$1 digitaldaemon.com...
 What's your linker command line?

 "Wichetael" <wichetael gmx.net> wrote in message
 news:bcldhj$2lbf$1 digitaldaemon.com...
 I'm trying to compile/link a program towards a binary target,
however
 I
 get
 the following error:

 Below 100H Cannot Be Initialized
 While creating a .com file, an attempt to initialize data areas at
an
 address lower than 0100h was detected.

 Which of course would be fine were I createing a .com file, I am
not
 however
 and thus am unable to get the desired result.

 So, if you could, please make this error non-fatal or better yet
allow
 for
 it to be disabled.

 Regards, Remko
Jun 17 2003