From: Friedrich Manfred <fm@sat-automation.com>
To: "'gnu@gnu.org'" <gnu@gnu.org>
Subject: question about gcc
Date: Mon, 31 Jan 2000 16:09:00 -0000 [thread overview]
Message-ID: <200001312327.SAA22684@delysid.gnu.org> (raw)
Dear developers
We have a big problem. Perhaps you can help us.
Our company develops on a new embedded automation board.
A software tool on a PC generates an application code in C which should be
compiled, linked and loaded down to the embedded automation board.
The CPU on this board is a Intel 386EX processor running on a selfmade OS.
This OS (written in C) is running in protected mode ,uses the multi
segmented model based on the global descriptor table from the 386EX
Until now we have used the Watcom C/C++ compiler (version 10.5) with the
memory modell small (CS <> DS) to compile the application code.
So we have two entries in the GDT, for the CS and the DS.
But now the compiler is in the "end of life " state (e.g. we have problems
and no support) and we want to change our compiler to the GCC.
Our problem is that the code produces by the GCC is flat e.g. CS = DS.
For example:
DATA declaration: unsigned int help;
Function: void test (void)
{
help=5;
};
unsigned int help1;
void test1 (void)
{
}
linked outputs by GCC: adresses test 0
CS = DS
help 0x13
test1 0x15
help1 0x28
linked outputs by watcom: adresses test 0
CS <> DS
help 0
test1 0x13
help 2
Now our question to you is:
Is it possible to configure the GCC, that CS <> DS (similar the Watcom
compiler in the small memory model).
Please give us an answer if you any solution or not. Its very important and
urgent for us.
Thank you
with best regards
> Manfred Friedrich
>
> VA TECH SAT GmbH & Co
> Ruthnergasse 1
> A-1210 Wien
>
> Phone: (+43/1) 29129 4930
> Fax: (+43/1) 29129 4340
> E-Mail: fm@sat-automation.com
> Internet: http://www.sat-automation.com
>
>
WARNING: multiple messages have this Message-ID
From: Friedrich Manfred <fm@sat-automation.com>
To: "'gnu@gnu.org'" <gnu@gnu.org>
Subject: question about gcc
Date: Sat, 01 Apr 2000 00:00:00 -0000 [thread overview]
Message-ID: <200001312327.SAA22684@delysid.gnu.org> (raw)
Message-ID: <20000401000000.IOrpuIKuAPvdtc-9qhKFIEqjeh0Ytg71Z6YtYIHn9rQ@z> (raw)
Dear developers
We have a big problem. Perhaps you can help us.
Our company develops on a new embedded automation board.
A software tool on a PC generates an application code in C which should be
compiled, linked and loaded down to the embedded automation board.
The CPU on this board is a Intel 386EX processor running on a selfmade OS.
This OS (written in C) is running in protected mode ,uses the multi
segmented model based on the global descriptor table from the 386EX
Until now we have used the Watcom C/C++ compiler (version 10.5) with the
memory modell small (CS <> DS) to compile the application code.
So we have two entries in the GDT, for the CS and the DS.
But now the compiler is in the "end of life " state (e.g. we have problems
and no support) and we want to change our compiler to the GCC.
Our problem is that the code produces by the GCC is flat e.g. CS = DS.
For example:
DATA declaration: unsigned int help;
Function: void test (void)
{
help=5;
};
unsigned int help1;
void test1 (void)
{
}
linked outputs by GCC: adresses test 0
CS = DS
help 0x13
test1 0x15
help1 0x28
linked outputs by watcom: adresses test 0
CS <> DS
help 0
test1 0x13
help 2
Now our question to you is:
Is it possible to configure the GCC, that CS <> DS (similar the Watcom
compiler in the small memory model).
Please give us an answer if you any solution or not. Its very important and
urgent for us.
Thank you
with best regards
> Manfred Friedrich
>
> VA TECH SAT GmbH & Co
> Ruthnergasse 1
> A-1210 Wien
>
> Phone: (+43/1) 29129 4930
> Fax: (+43/1) 29129 4340
> E-Mail: fm@sat-automation.com
> Internet: http://www.sat-automation.com
>
>
next reply other threads:[~2000-01-31 16:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-31 16:09 Friedrich Manfred [this message]
2000-04-01 0:00 ` Friedrich Manfred
2004-07-20 11:37 K P
2010-06-03 0:05 question about GCC manal habib
2010-06-03 8:28 ` Andrew Haley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200001312327.SAA22684@delysid.gnu.org \
--to=fm@sat-automation.com \
--cc=gnu@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).