From mint-bounce@lists.fishpool.fi Wed Jan 27 18:12:18 2010 X-Authenticated: #498939 X-Provags-ID: V01U2FsdGVkX1/ZB6Mqc1XZjxNwqQPWfL/GNlujyelFXAjB+IuInH 8JJqN2GY6O6Aq8 Message-Id: <451FA899-1EC4-4F88-8CD8-59233F3508E8@gmx.ch> From: =?ISO-8859-1?Q?Philipp_Donz=E9?= To: mint@lists.fishpool.fi In-Reply-To: <4B60C012.6010703@abbuc.de> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: [MiNT] GCC 4.4.3 Date: Thu, 28 Jan 2010 00:09:55 +0100 References: <4B5C752A.5050901@freesbee.fr> <4B5CC233.6060107@free.fr> <752526d21001250028t6ac4768bu776fcfd86b0c3567@mail.gmail.com> <4B5D6E15.2020105@freesbee.fr> <4B609721.8010502@online.no> <4B60ADBF.1020805@online.no> <4B60C012.6010703@abbuc.de> X-Mailer: Apple Mail (2.936) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.82999999999999996 X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: philippdonze@gmx.ch Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Hi Stefan > And, last question: Could you explain how to make those symlinks and > what that workaround does in the end? For me the problem appeared when linking the 68000 Kernel (during a make all in the freemint directory): _____________________________ m68k-atari-mint-gcc -I.. -D__KERNEL__ -DLANG_ENGLISH -DM68000 - DNO_RAMFS -DNO_FAKE_SUPER -DVERBOSE_BOOT -m68000 -mshort -g -O2 -fomit- frame-pointer -fstrength-reduce -Wall -Wmissing-prototypes -Winline - Wshadow -Wpointer-arith -Wcast-qual -Werror -nostdlib -Wl,-Map - Wl,map.txt -Wl,--entry -Wl,_main -o mint000.prg \ .... -L../libkern -lkern000 -lgcc16 /opt/cross-mint/lib/gcc/m68k-atari-mint/4.4.3/../../../../m68k-atari- mint/bin/ld: cannot find -lgcc16 collect2: ld returned 1 exit status make[4]: *** [mint000.prg] Error 1 make[3]: *** [_stmp_000] Error 2 make[2]: *** [000] Error 2 make[1]: *** [all-kernels] Error 1 make: *** [all-recursive] Error 1 _____________________________ I fixed it using the following commands (which create a symlink for libgcc.a to libgcc16.a): cd /opt/cross-mint/lib/gcc/m68k-atari-mint/4.4.3 ln -s mshort/libgcc.a libgcc16.a You have to adapt the command to your environment (e.g. /usr/ instead of /opt/cross-mint/ and the 4.4.2 instead of 4.4.3). After that, the build continued without problem. But I'm not sure if the kernel produced by this hack is working. I don't have a 68000 machine to test it. Regards Philipp