From mint-bounce@lists.fishpool.fi Sat Jan 9 19:49:41 2010 Message-ID: <4B492354.3000208@abbuc.de> Date: Sun, 10 Jan 2010 01:46:12 +0100 From: Stefan Niestegge User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: mint@lists.fishpool.fi Subject: Re: [MiNT] Compiling FreeMiNT References: <4B477978.2000505@abbuc.de> <4B487ABA.50709@abbuc.de> In-Reply-To: <4B487ABA.50709@abbuc.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: beetle@abbuc.de Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Hi, > you need to download the builds from mikro's site (use google to find it), tar jxvf -C / binutils-2.20.tar.bz2 and tar jxvf -C / gcc-4.4.2.tar.bz2 (the names may be different). Then you need to make those overcome your current gcc/binutils by doing export PATH=/usr/local/bin/:$PATH. Then you can verify if you type gcc --version and you get 4.4.2 you should be good to go to the freemint folder and type make and you will be building with gcc 4.4.2. I did it like this now. binutils are 2.20. >>> i get the recent main branch? Or am i doing something wrong? >> >> I did this this afternoon and I'm pretty sure I received the enhancement-branch of freemint. So >> >> cvs co -r HEAD freemint >> >> is probably better. >> >>> If there is a 'howto proper compile FreeMiNT using EasyMiNT install plus GCC 4.2.2 / Binutils 2.20' i was unable to find, please give me a link. >> >> Just type make [optional target (030,040,...)] should do, if everything is installed. >> >> -Helmut >> >> > I checked out with -r HEAD like you suggested right now. > > "make 060" gave me an error message "No rule to make target '060'. Stop." Anyway. i just went to /root/freemint, started make and after 2h or so it stopped with this error : -L../libkern -lkern000 -lgcc16 /d/usr/local/bin/../lib/gcc/m68k-atari-mint/4.4.2/../../../../m68k-atari-mint/bin/ld: cannot find -lgcc16 at least i think this is the error it stopped with ( i pasted the end of the log below ) still something with my binutils wrong? Greetings, Stefan -------------------------------------------------- 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 -nostdlib -Wl,-Map -Wl,map.txt -Wl,--entry -Wl,_main -o mint000.prg \ ../arch/.compile_000/startup.o \ bios.o biosfs.o block_IO.o bootmenu.o cnf_mint.o cnf.o cmdline.o console.o cookie.o crypt_IO.o debug.o delay.o dev-mouse.o dev-null.o dma.o dos.o dosdir.o dosfile.o dosmem.o dossig.o fatfs.o filesys.o floppy.o global.o gmon.o init.o ipc_socket.o ipc_socketdev.o ipc_socketutil.o ipc_unix.o ipc_unix_cache.o ipc_unix_dgram.o ipc_unix_stream.o k_exec.o k_exit.o k_fds.o k_fork.o k_kthread.o k_prot.o k_resource.o k_semaphore.o k_sysctl.o kentry.o kerinfo.o kernfs.o kernget.o keyboard.o kmemory.o mcount.o memory.o mis.o module.o nullfs.o pipefs.o proc.o proc_help.o proc_wakeup.o procfs.o profil.o ptrace.o pun.o ramfs.o random.o rendez.o scsidrv.o semaphores.o shmfs.o signal.o slb.o ssystem.o sys_emu.o syscall_vectors.o sysv_ipc.o sysv_msg.o sysv_sem.o sysv_shm.o time.o timeout.o tosfs.o tty.o umemory.o unicode.o unifs.o update.o util.o xbios.o xfs_xdd.o xhdi.o info.o \ ../arch/.compile_000/aranym.o ../arch/.compile_000/check_exc.o ../arch/.compile_000/halt.o ../arch/.compile_000/info_mach.o ../arch/.compile_000/init_intr.o ../arch/.compile_000/init_mach.o ../arch/.compile_000/kernfs_mach.o ../arch/.compile_000/mprot000.o ../arch/.compile_000/mprot030.o ../arch/.compile_000/mprot040.o ../arch/.compile_000/process_reg.o ../arch/.compile_000/sig_mach.o ../arch/.compile_000/timer.o ../arch/.compile_000/acia.o ../arch/.compile_000/aranym_asm.o ../arch/.compile_000/context.o ../arch/.compile_000/cpu.o ../arch/.compile_000/detect.o ../arch/.compile_000/intr.o ../arch/.compile_000/kernel.o ../arch/.compile_000/mmu030.o ../arch/.compile_000/mmu040.o ../arch/.compile_000/scsidrv_emu.o ../arch/.compile_000/syscall.o ../arch/.compile_000/user_things.o ../arch/.compile_000/xhdi_emu.o ../arch/.compile_000/v4epatch.o \ \ -L../libkern -lkern000 -lgcc16 /d/usr/local/bin/../lib/gcc/m68k-atari-mint/4.4.2/../../../../m68k-atari-mint/bin/ld: cannot find -lgcc16 collect2: ld returned 1 exit status make[4]: *** [mint000.prg] Error 1 make[4]: Leaving directory `/d/root/freemint/sys/.compile_000' make[3]: *** [_stmp_000] Error 2 make[3]: Leaving directory `/d/root/freemint/sys' make[2]: *** [000] Error 2 make[2]: Leaving directory `/d/root/freemint/sys' make[1]: *** [all-kernels] Error 1 make[1]: Leaving directory `/d/root/freemint/sys' make: *** [all-recursive] Error 1