* Compiling option for LinuxPPC
@ 1999-02-04 8:58 Andreas
1999-02-04 15:38 ` Geert Uytterhoeven
1999-02-04 16:19 ` Compiling option for LinuxPPC David Edelsohn
0 siblings, 2 replies; 4+ messages in thread
From: Andreas @ 1999-02-04 8:58 UTC (permalink / raw)
To: linuxppc-user@lists.linuxppc.org, linuxppc-dev@lists.linuxppc.org
Hi all,
does under LinuxPPC a compiler option /preprocessor symbol exist in the manner
as it does under FreeBSD?
i.e. __FreeBSD__ or in LinuxPPC __LinuxPPC__??
Thanks for any hints,
Andreas
--
------------------
| Andreas Tobler
| CH-8004 Zuerich
| E-mail: toa@pop.agri.ch
------------------------------------------
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Compiling option for LinuxPPC
1999-02-04 8:58 Compiling option for LinuxPPC Andreas
@ 1999-02-04 15:38 ` Geert Uytterhoeven
1999-02-12 22:07 ` modes "default" solutions Brad Midgley
1999-02-04 16:19 ` Compiling option for LinuxPPC David Edelsohn
1 sibling, 1 reply; 4+ messages in thread
From: Geert Uytterhoeven @ 1999-02-04 15:38 UTC (permalink / raw)
To: Andreas; +Cc: linuxppc-user@lists.linuxppc.org, linuxppc-dev@lists.linuxppc.org
On Thu, 4 Feb 1999, Andreas wrote:
> does under LinuxPPC a compiler option /preprocessor symbol exist in the manner
> as it does under FreeBSD?
>
> i.e. __FreeBSD__ or in LinuxPPC __LinuxPPC__??
defined(__linux__) && defined(__powerpc__)
Greetings,
Geert
--
Geert Uytterhoeven Geert.Uytterhoeven@cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP} http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Compiling option for LinuxPPC
1999-02-04 8:58 Compiling option for LinuxPPC Andreas
1999-02-04 15:38 ` Geert Uytterhoeven
@ 1999-02-04 16:19 ` David Edelsohn
1 sibling, 0 replies; 4+ messages in thread
From: David Edelsohn @ 1999-02-04 16:19 UTC (permalink / raw)
To: Andreas; +Cc: linuxppc-user@lists.linuxppc.org, linuxppc-dev@lists.linuxppc.org
>>>>> Andreas writes:
Andreas> does under LinuxPPC a compiler option /preprocessor symbol exist in the manner
Andreas> as it does under FreeBSD?
Andreas> i.e. __FreeBSD__ or in LinuxPPC __LinuxPPC__??
No OS-specific macro for LinuxPPC is currently generated by EGCS.
David
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]
^ permalink raw reply [flat|nested] 4+ messages in thread
* modes "default" solutions
1999-02-04 15:38 ` Geert Uytterhoeven
@ 1999-02-12 22:07 ` Brad Midgley
0 siblings, 0 replies; 4+ messages in thread
From: Brad Midgley @ 1999-02-12 22:07 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: linuxppc-dev@lists.linuxppc.org, Brad Midgley
geert,
I have been experimenting to try to find out when and why modes "default"
doesn't work with Xfb.
1. modes default is incompatible with acceleration provided by Xfb.
problems range from messed up colormaps to a white screen pocked with
artifacts. if you need modes default, turn off acceleration:
Section "Device"
Identifier "Linux Frame Buffer Device"
Option "noaccel"
EndSection
2. if you run vmode and it reports something like "0 32" for the current
mode, Xfb will come up with an oversize virtual screen if it's run with
modes default. however, if vmode comes up with something like "15 32" then
the virtual screen size will match the real screen size.
unfortunately, the os is not setting the first parameter correctly at
startup, so the only way to have vmode return something sensible is to use
it to set the value, eg by running vmode 15 32 at startup.
i am going to look into why the os isn't setting the first value properly.
i'm observing both these behaviors on an imac and on a 7500 with an ati
xclaim vr board.
Brad
brad@pht.com | http:/www.pht.com/~brad/
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-02-12 22:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-04 8:58 Compiling option for LinuxPPC Andreas
1999-02-04 15:38 ` Geert Uytterhoeven
1999-02-12 22:07 ` modes "default" solutions Brad Midgley
1999-02-04 16:19 ` Compiling option for LinuxPPC David Edelsohn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).