public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* question about gcc
@ 2000-01-31 16:09 Friedrich Manfred
  2000-04-01  0:00 ` Friedrich Manfred
  0 siblings, 1 reply; 5+ messages in thread
From: Friedrich Manfred @ 2000-01-31 16:09 UTC (permalink / raw)
  To: 'gnu@gnu.org'

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
> 
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* question about gcc
  2000-01-31 16:09 question about gcc Friedrich Manfred
@ 2000-04-01  0:00 ` Friedrich Manfred
  0 siblings, 0 replies; 5+ messages in thread
From: Friedrich Manfred @ 2000-04-01  0:00 UTC (permalink / raw)
  To: 'gnu@gnu.org'

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
> 
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: question about GCC
  2010-06-03  0:05 question about GCC manal habib
@ 2010-06-03  8:28 ` Andrew Haley
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Haley @ 2010-06-03  8:28 UTC (permalink / raw)
  To: gcc-help

On 06/03/2010 01:05 AM, manal habib wrote:
> Hi,
> 
> I am new into the field of coding, and I am wandering if I can get
> some help on how to use the GCC? I have a mac version 10.5.8.   Should
> I just copy one of the image folders to make computer?  how can use
> it?

Have a look at http://developer.apple.com/tools/xcode/xcodeprojects.html
which I think covers it.  I'm sorry, I'm not a Mac developer.

Andrew.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* question about GCC
@ 2010-06-03  0:05 manal habib
  2010-06-03  8:28 ` Andrew Haley
  0 siblings, 1 reply; 5+ messages in thread
From: manal habib @ 2010-06-03  0:05 UTC (permalink / raw)
  To: gcc-help

Hi,

I am new into the field of coding, and I am wandering if I can get
some help on how to use the GCC? I have a mac version 10.5.8.   Should
I just copy one of the image folders to make computer?  how can use
it?

Thank you very much
Manal Habib

^ permalink raw reply	[flat|nested] 5+ messages in thread

* question about gcc
@ 2004-07-20 11:37 K P
  0 siblings, 0 replies; 5+ messages in thread
From: K P @ 2004-07-20 11:37 UTC (permalink / raw)
  To: gcc-help

hi gcc-team!

i have a question about redistribution and use of gcc:

if i code a programm (not with gcc) and wanna extend it with 
programm-modules,
creatable by the user of my programm, and compile them with gcc in the back,
and stick them as part to my programm,
is then gcc free? what is when i want to sell my programm and redist gcc ?

tnx for listening, great tnx for answering,

greets, charly

_________________________________________________________________
Hotmails und Messenger-Kommunikation am Handy? Für MSN Mobile kein Problem! 
http://www.msn.at/msnmobile/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-06-03  8:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-31 16:09 question about gcc Friedrich Manfred
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

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).