[kaffe] new machine-dependent source file

2003-07-01 Thread Gerlando Falauto

Hi Automake/autoconf experts,

is there any way to add a new machine-dependent assembler (.s) or C (.c)  
file to the build process, and put it my config/cpu or config/cpu/os
dir? 

I tried creating a cpu/os/Makefile.frag as its done in the
engines and threadsystems directories, but that didn't quite work... 

I know .c files I can #include in config/cpu/os/md.c, but I guess
that's not the case for .s files (though they get compiled by the same
command line).

Please don't tell me to write inline assembler in a .c file.  Argh, my
compiler doesn't support that.

Thank you all!
Gerlando


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] new machine-dependent source file

2003-07-01 Thread Timothy Stack
 
 
 Hi Automake/autoconf experts,
 
 is there any way to add a new machine-dependent assembler (.s) or C (.c)  
 file to the build process, and put it my config/cpu or config/cpu/os
 dir? 
 
 I tried creating a cpu/os/Makefile.frag as its done in the
 engines and threadsystems directories, but that didn't quite work... 

It appears that the configure script looks for Make.frag and not 
Makefile.frag.  Ah, gotta love the consistency...

 Thank you all!
 Gerlando

tim

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] new machine-dependent source file

2003-07-01 Thread Gerlando Falauto
On Tue, 1 Jul 2003, Timothy Stack wrote:

  I tried creating a cpu/os/Makefile.frag as its done in the
  engines and threadsystems directories, but that didn't quite work... 
 
 It appears that the configure script looks for Make.frag and not 
 Makefile.frag.  Ah, gotta love the consistency...

Tried that, didn't work either. It said:

CPU_SOURCES = sysdepCallMethod.s

No other platform seems to do that so I am the only one with this problem 
I think... PLEASE HELP! ;-)

Gerlando


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] new machine-dependent source file

2003-07-01 Thread Timothy Stack
 
 On Tue, 1 Jul 2003, Timothy Stack wrote:
 
   I tried creating a cpu/os/Makefile.frag as its done in the
   engines and threadsystems directories, but that didn't quite work... 
  
  It appears that the configure script looks for Make.frag and not 
  Makefile.frag.  Ah, gotta love the consistency...
 
 Tried that, didn't work either. It said:
 
 CPU_SOURCES = sysdepCallMethod.s

Did you add $(CPU_SOURCES) to the libkaffevm_la_SOURCES variable in 
kaffe/kaffevm/Makefile.am and regenerate it?

 No other platform seems to do that so I am the only one with this problem 
 I think... PLEASE HELP! ;-)

see config/mips/ultrix4/Make.frag

 Gerlando

tim

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe