[openbeos] Re: cross building

  • From: Michael Noisternig <michael.noisternig@xxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Thu, 03 Apr 2003 18:27:01 +0200

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: