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] |
Hi, Marcin. I'd glad I can help you. About your question. 1.yes. cygwin toolchain got 'tcl' binrary package. You don't bother youself to rebuild it again. 2.'__imp__foo' you see is the changed by the cygwin. Because he want to emulate shared library. in linux is (.so and .a) in win is (.dll and .a) Cygwin will try to rename the global variable in the object file(like foo -> __imp__foo) to put in the .dll files and also do it in the .a files for dynamic linking. So the error happened is because link to the wrong library. (should link to shared library not static library). In fact, there some dll files in the '/bin' related with 'tcl'. I believe they are just the shared library files I mention. 3.I didn't familiar to the 'gunpro' package. But if you try to build cross gcc toolchain for h8300-hms, you may leave gnupro along and build necessary package yourself. Some people not me has done that. I guess the one reason of gnupro try to build tcl package is because of 'insight', the GUI version of gdb(i only guess). If you still need to rebuild it, get the new version of tcl not the old one (in the gnupro). 4.In UNIX convention, put your source in '/usr/src'. But you can still put everywhere you want. 5.The bunch of targzips is well-packaged package. They include all the header files, library files and document files. You may uncompress them and check it out youself. IMHO. Most problem about gnupro here is just version(enviorment) problem. The common question always like I've done the instruction of the webpage. Why I still get into trouble? There are several things around this simple question. One is cross toolchain package. The version of the toolchain and the document mention should the same.(because they all come from the CD). But why this is still happened? Another problem is build toolchain, this version may not the same as the document mention. This may cause some trouble. If the build toolchain version is the same, it can still cause trouble because the OS version. I try to say, using the free software is always pain, but I've learn a lot of knowledge inside. And this knowledge can continue, that's why we here. ----- Original Message ----- From: "Marcin Wolcendorf" <wolcendo@free.polbox.pl> To: <crossgcc@sources.redhat.com> Sent: Friday, January 05, 2001 1:48 AM Subject: Can't 'make' again... > Hi, > > Newbe question again... (I do like it, don't you? ;-) ) > BTW- thanks Mike :-), I have new toolchain. > I have quite new (december?) cygwin (latest 'not experimental' I was able to > find) and I try to build from source 'gnupro-99r1p1' from Hitachi and for > Hitachi (h8300-hms). It fails- now it can't build tcl. /usr/gnupro-99r1p1/build > is my build directory (I run configure there), /gnupro-99r1p1/src is source > directory. I run > /gnupro-99r1p1/src/configure --prefix=/usr/gnupro-99r1p1/build --target=h830 0- > hms > and get: > > ./tclEnv.o(.text+0x54): undefined reference to `__imp___cygwin_environ' > ./tclEnv.o(.text+0xce): undefined reference to `__imp___cygwin_environ' > ./tclEnv.o(.text+0x191): undefined reference to `__imp___cygwin_environ' > ./tclEnv.o(.text+0x1b4): undefined reference to `__imp___cygwin_environ' > ./tclEnv.o(.text+0x358): undefined reference to `__imp___cygwin_environ' > ./tclEnv.o(.text+0x402): more undefined references to `__imp___cygwin_environ' > f > ollow > ./tclWin32Dll.o(.text+0x24): undefined reference to `__imp_reent_data' > collect2: ld returned 1 exit status > make[2]: *** [cygtcl80.dll] Error 1 > make[2]: Leaving directory `/usr/gnupro-99r1p1/build/tcl/win' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/usr/gnupro-99r1p1/build/tcl' > make: *** [all-tcl] Error 2 > > > Bash version: > GNU bash, version 2.04.5(12)-release (i686-pc-cygwin) > Copyright 1999 Free Software Foundation, Inc. > > Gcc: > $ gcc -dumpversion > 2.95.2-6 > > q@Q /usr/gnupro-99r1p1/build > $ gcc -dumpmachine > i686-pc-cygwin > > > I want to build it, not necessarily from 'gnupro' sources (as I have sources > for my current cygwin install also). But I need a guide... Especially if > building from 'cygwin' sources- where to put them? How to configure them, as > there are no 'root' configure file to do it? There is a bunch of targzips and > confused newbe... ;-) > > > Regards, > > Marcin Wolcendorf. > > > > ------ > Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ > Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com > ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |