Problems making RTEMS with Cygwin !
Silverio Diquigiovanni
silverio.di at qem.it
Fri Jul 28 09:09:22 UTC 2000
Hi to all,
I have tried, after many months, to build RTEMS environment for Cygwin,
with a little bug which I'm not able to fix.
This is the question :
- I have installed Cygwin 1.1.2 today with setup directly from internet.
- I have installed RPM
- I have installed last Cygwin RPM tool chain for SuperHitachi SH
Well during configure appears a bug when the script try to compile a C
target source code :
< -- start snip form {build directory}/sh-rtems/c/make/config.log -- >
configure:1242: checking whether the C compiler
(/OPT/RTEMS/BIN/sh-rtems-gcc ) works
configure:1258: /OPT/RTEMS/BIN/sh-rtems-gcc -o conftest conftest.c
1>&5
Assembler messages:
Error: Can't open
for reading.
< -- end snip -- >
Then I try to compile a simple test file :
foo.c:
void foo( void )
{
}
01] sh-rtems-gcc foo.c <cr>
all work fine and a "a.out" file is generated.
02] sh-rtems-gcc foo.c -S <cr>
all work fine and a "foo.s" file is generated.
03] sh-rtems-gcc foo.c -S <cr>
sh-rtems-as foo.s -o foo.o <cr>
all work fine and a "foo.s" & "foo.o" files are generated.
04] sh-rtems-gcc foo.c -o foo.o <cr>
this cause following error message and don't produce files :
$ sh-rtems-gcc foo.c -o foo.o
Assembler messages:
for reading.open
: No such file or directory
Thank for your help !
Silverio Diquigiovanni
More information about the users
mailing list