x86-64 default memory models

2012-12-16 Thread Leif Ekblad
g_pic ? CM_SMALL_PIC : CM_SMALL; else 3. Override the macro in an OS-defined file: +#undef TARGET_MEDIUM_PIC +#define TARGET_MEDIUM_PIC 1 Regards, Leif Ekblad

Re: x86-64 medium memory model

2012-12-12 Thread Leif Ekblad
address for both code and data. Additionally, when I tried the small memory model with a start address of text above 4G, the linker complains about 32-bit fixups overflowing. Leif Ekblad - Original Message - From: "H.J. Lu" To: "Leif Ekblad" Cc: "GCC Pat

x86-64 medium memory model

2012-12-12 Thread Leif Ekblad
bit addressing when it should be using 64-bit addressing. I have no patch for this as I don't understand what is going on here well enough, but __cpuid_count is defined in gcc/config/i386/cpuid.h. In order to be able to continue to test the medium memory model I'd need patches to be applied to fix these issues. Regards, Leif Ekblad RDOS Development

Re: Why not contribute? (to GCC)

2010-04-25 Thread Leif Ekblad
ps above, nobody requested me to fill out the copyright assignment, and neither about maintainer for rdos target. The 100s of patches related to libc (in this case newlib), not to gcc. I mixed up those. However, it was not possible to submit the patches to newlib either until the GCC patches had been applied. Leif Ekblad

Re: Why not contribute? (to GCC)

2010-04-24 Thread Leif Ekblad
unix-like environments, where these issues doesn't exist. Leif Ekblad - Original Message - From: "Ross Ridge" To: Sent: Saturday, April 24, 2010 2:12 PM Subject: Re: Why not contribute? (to GCC) Manuel López-Ibáñez writes: What reasons keep you from contributing to

Thread support in GCC

2006-01-19 Thread Leif Ekblad
cated? Leif Ekblad www.rdos.net/rdos

Building a native compiler from a cross compiler

2006-01-16 Thread Leif Ekblad
there some other trick to this? Leif Ekblad www.rdos.net/rdos

Bugs in cross-compilation

2006-01-15 Thread Leif Ekblad
problem I had to fix. libgcc.a is not installed at the correct location. The linker looks at files at /usr/local/rdos/lib, but libgcc.a is installed in /usr/local/lib/gcc/rdos/gcc/4.2.0 (or something like that. Leif Ekblad www.rdos.net/rdos

Changes in default exception handling?

2006-01-15 Thread Leif Ekblad
configure. Is there a way to specify this as a default for an OS, so you don't have to give this option at configure-time? Leif Ekblad www.rdos.net/rdos

Re: FYI: [PATCH] RDOS support for libtool

2006-01-13 Thread Leif Ekblad
Ralf: > GCC has its own in-house cranked-up version of 1.4.x libtool. IOW, I need to tell them to synchronize with libtool, and then they will eventually commit a new libtool.m4 to their project and then I can check out if my modifications work or not? Leif Ekblad

Re: FYI: [PATCH] RDOS support for libtool

2006-01-13 Thread Leif Ekblad
fined macro: m4_ifval When I try to configure in libstdc++-v3 directory, it aborts. Maybe I'm going about this in the wrong way? Maybe GCC requires branch 1.5.x of libtool and not MAIN? Leif Ekblad

Re: Cross compiling libstc++-v3 fails

2006-01-12 Thread Leif Ekblad
Problem is solved. It was a problem in my configuration of GCC. Leif Ekblad

Re: Cross compiling libstc++-v3 fails

2006-01-12 Thread Leif Ekblad
lib/gcc/rdos/4.1.0/../../../../rdos/lib /tmp/cci7xT7i.o -lgcc -lc -lgcc /usr/src/toolchain/gcc-4.1-20051008/host-i686-pc-linux-gnu/gcc/crtend.o Leif Ekblad

Re: Cross compiling libstc++-v3 fails

2006-01-12 Thread Leif Ekblad
look for this? How is emulation mode determined? Why does this only fail in the newly built cross directory, and nowhere else? Leif Ekblad > In configure script, line 2580, there is a link test which checks if > an executable can be generated. The config.log file emits the > following

Cross compiling libstc++-v3 fails

2006-01-11 Thread Leif Ekblad
the wrong emulation mode? Apparently, there is no "-o" in any file in the build-directory. Is this a known problem? Leif Ekblad

Re: Porting GCC to RDOS and C++ issues

2005-12-30 Thread Leif Ekblad
e. It works, but I haven't tested the exception-handling code yet. Leif Ekblad

Re: Porting GCC to RDOS and C++ issues

2005-12-29 Thread Leif Ekblad
Where are these functions implemented Mike Stump: grep will show you the code that should be used to build it. unwind- dw2.c is the usual place. OK, I found unwind-dw2.c in the GCC directory. I also found the object files in the linux host directory, but not in the RDOS cross compilation di

Porting GCC to RDOS and C++ issues

2005-12-29 Thread Leif Ekblad
I've successfully ported GCC and Newlib to RDOS. It seems to work with a "hello world" app. However, my main focus is not C, but C++. I found out that libstdc++ didn't compile without modifying it's configuration files to support RDOS. Where do I send patches for libstdc++? To this list? Howe

Patches for RDOS (version 4.1 of GCC)

2005-12-28 Thread Leif Ekblad
2005-12-28 Leif Ekblad [EMAIL PROTECTED] * gcc/config.gcc: Added support for target RDOS * gcc/config/i386/rdos.h: Added rdos.h file for RDOS definitions --- /usr/src/toolchain/gcc-4.1-20051008/gcc/config.gcc 2005-09-29 01:50:03.0 +0200 +++ config.gcc 2005-12-13 13:18

Adding new target OS for GCC

2005-11-30 Thread Leif Ekblad
Hi, What is the prefered way to add a new target OS for GCC? I've added the support to an older version of GCC (2.95) but don't want to redo the work as GCC evolves. Regards, Leif Ekblad www.rdos.net/rdos