[openbeos] Re: How not to actively prevent a PPC version of your software and write better code at the same time

  • From: "Nathan Whitehorn" <nathan.whitehorn@xxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Sat, 06 Apr 2002 18:22:49 EST (-0500)

> >> So is it a Metrowerks thing?
> >> See - I am not sure that I want to ask developers to nastify up 
> > > their 
> >> code like this.
> >> The other things that you pointed out are good style, and I can 
> > > 100% 
> >> agree with.
> >> And having a second compiler like MW is great for that sort of 
> > > thing.
> >> But changing the code with cruft like this is not, IMHO, a worthy 
> >> endeavor.
> >> I know that makes PPC hard/impossible. I 100% understand that. 
> > > This 
> >> is, though, the sort
> >> of thing that I forsaw when I said that I didn't want to make PPC 
> > > an 
> >> "official" piece, right now.
> >> We would have to buy into a little more legacy than I feel 
> >> comfortable with.
> >
> >It's a non-ELF thing. ELF is the only binary format (AFAIK) that 
> >exports all symbols by default. I can turn on -export all in mwld, 
> > but 
> >then we get pages of warnings like this, which I would vastly prefer 
> >not to have, and can be detrimental to the app function in some 
> > cases.
> >-Nathan
> >
> <snip>
> 
> If that is the case, I would say definately turn on export all and 
> deal with it
> for now. I think that is a much better path, since it is short term, 
> than asking
> every developer to put extraneous stuff in their headers.

It doesn't go in headers, only in the actual source files.
-Nathan


--
Fortune Cookie Says:

Serocki's Stricture:
        Marriage is always a bachelor's last option.


Other related posts: