Working with Cygwin

silverio.di at qem.it silverio.di at qem.it
Tue Apr 15 06:23:03 UTC 2003


Hi to all,
I've installed the last Cygwin tool chain and all run fine !
I've downloaded all RTEMS tool chain for cygwin from CD working directory !
I've decompressed all files in root and all files are now on
/opt/rtems/.......
I've set the path in cygwin.bat at  :
  set PATH=%PATH%/opt/rtems/bin;
so now I can call all my target compilators (386, M68K & SH)
but when I try to compile this file:

<test.c>
int main(void)
{
  return 0;
}

I obtain the following error:

$ m68k-rtems-gcc.exe test.c
/OPT/RTEMS/BIN/../lib/gcc-lib/m68k-rtems/3.2.1/../../../../m68k-rtems/bin/ld:

cannot find -lc
collect2: ld returned 1 exit status

I don't understand what mean and how to solve this.....
I've missing some other settings, for example some settings to insert in
bash.rc or in other
places ?

Thank you in advance
Silverio Diquigiovanni





More information about the users mailing list