[openbeos] Re: cross building

  • From: "Leon Timmermans" <openbeos@xxxxxxxxx>
  • To: <openbeos@xxxxxxxxxxxxx>
  • Date: Tue, 22 Apr 2003 20:59:23 +0200

I've been trying but it doesn't compile.
I didn't have much time to find out what the problem is, but think it is the
__declspec stuff (in BeBuild.h).
That is a Microsoft extensions, right?
What is is doing there?
My gcc version isn't eating it!
I might be able to #define my whay out, but that wouldn't be a nice solution
right?

Leon Timmermans

----- Original Message -----
From: "Michael Noisternig" <michael.noisternig@xxxxxxxxx>
To: <openbeos@xxxxxxxxxxxxx>
Sent: Thursday, April 03, 2003 6:27 PM
Subject: [openbeos] Re: cross building


> Leon Timmermans wrote:
> > DJGPP doesn't output PE, but COFF.
>
> Erm, right.
>
> > after some searching in the gcc manfile, I found (and tried) out that it
has
> > a option -fno-leading-underscore, so C linking is possible.
> > (it was the last of all command line options!!!!)
> > I don't know whether gcc-2 supports this (I currently only have 3.2)
>
> Yes, GCC 2.95.3 has -fleading-underscore and -fno-underscoring. I didn't
> know this. Well, tell me when you manage to compile the kernel.
> Good luck!
>
> Michael Noisternig
>
>
>
>



Other related posts: