Subject: Re: GCC 3.2 (slightly ot)
To: Pat Wendorf <mlist@beholder.homeunix.net>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: port-dreamcast
Date: 03/19/2003 22:15:14
On Wednesday, March 19, 2003, at 10:08 PM, Pat Wendorf wrote:
> I was looking at the 3.3 release notes, and I'm a bit confused. Why
> does the
> compiler need to have support for OS targets? I thought ELF was
> generic to
> the CPU, and the OS loaded the binary and executed based on the
> instructions
> generated for the CPU target?
The OS configuration defines things like the libraries to link at link
time, and which C preprocessor symbols are to be defined during
compilation. There are other things that are OS-specific in the
compiler's supplied run-time library (libgcc), as well.
-- Jason R. Thorpe <thorpej@wasabisystems.com>