On 5/5/06, Anupam Kapoor <anupam.kapoor@xxxxxxxxx> wrote:> On 5/5/06, sudheer <urwithsudheer@xxxxxxxxx> wrote:> > Hello All,> >> > I am writing a driver and apis for it , these should be compatible for> > 32 bit and 64 bit system.> can't you just use #ifdef x86_64 or some such ?are you generating code on amd64 ? if yes, then - use -m32 for for 32bit code. - use appropriate -mcmodel. as amd64 has different models forprograms running under 64bit mode. - for kernel code, you would probably need -mno-red-zone too. kind regardsanupam--In the beginning was the lambda, and the lambda was with Emacs, andEmacs was the lambda.��������!���W��v������ޗ��{��f������ޖw�n'�������Y�����