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

  • From: "Michael Phipps" <mphipps1@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Sat, 06 Apr 2002 15:13:32 -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.


Other related posts: