This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: generating debug info for SingleStep Debugger


On Sat, 04 May 2002 10:04:16 +0300, Kai Ruottu wrote:

> Peter Steiner wrote:
>> 
>> I have built a m68k-elf-gcc 2.95.3 (from David Fiddes' patches) and
>> managed to compile and link a short test program.

[rest skipped]

>  Simply don't use Cygwin at all...

>  The alternative for Cygwin on Win32 hosts is Mingw, which behaves natively
> using 'd:/directory' in the pathnames. Please see: 'http://www.mingw.org'

[some explanation skipped]

> But nowadays some brave? people try to duplicate the Cygwin-layer
> (or the work of the Linux-, FreeBSD- etc. people...) with the 'MSYS'. The idea
> is something like "if a car must be used on the road, it must be possible to
> build and fix it there, so the car must some kind of car-factory/repair-center
> itself and one can always try to build more and different cars with its tools...".

So, if i understood you correctly, i have to build my m68k-elf-gcc using
mingw and MSYS?

I have tried that, could build and install binutils-2.10, but get an
error while make is trying to link collect2.exe:

 gcc -DCROSS_COMPILE -DIN_GCC     -g -O2  -DHAVE_CONFIG_H  -o collect2.exe collect2.o tlink.o hash.o intl.o underscore.o version.o  obstack.o       -ladvapi32 ../libiberty/libiberty.a
 collect2.o: In function `handler':
 //c/l/gcc-m68k-ps/source/gcc-2.95.3/gcc/collect2.c:527: undefined reference to `kill'
 collect2.o: In function `scan_prog_file':
 //c/l/gcc-m68k-ps/source/gcc-2.95.3/gcc/collect2.c:2269: undefined reference to `pipe'
 //c/l/gcc-m68k-ps/source/gcc-2.95.3/gcc/collect2.c:2292: undefined reference to `fork'
 make[1]: *** [collect2.exe] Error 1
 make[1]: Leaving directory `/c/l/gcc-m68k-ps/build/gcc-newlib/gcc'
 make: *** [all-gcc] Error 2

The used packages are: MinGW-1.1, MSYS-1.0.6, binutils-2.10, gcc-2.95.3,
newlib-1.9.0.

What am I missing?

Regards

Peter
-- 
    _   _        Peter Steiner <peter.steiner@hugwi.ch>
  / /_/ /        Hug-Witschi AG <http://www.hugwi.ch/>
 /  _  /         Electronic Engineering
/_/ /_/  _   _   Auriedstrasse 10
   / / / / / /   CH-3178 Boesingen
  / /_/ /_/ /    Tel  +41 31 740 44 44
 /_ _ _ _ _/     Fax  +41 31 740 44 45


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]