[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] cross-tools libs & gcc invocation



2010/7/18 Vincent Rivière <vincent.riviere@freesbee.fr>:
> Paul Wratt wrote:
>>
>> how do you invoke gcc directly, where your lib does not contain a
>> ./configure script
>
> If your project has a Makefile, set CC=m68k-atari-mint-gcc
>
> Vincent
>

so the following would produce an object file suitable for linking
(where you did not have a Makefile either)?
m68k-atari-mint-gcc eg_lib_src.c

and specifically for 040 the following would be optimal (using multilibs):
m68k-atari-mint-gcc -g -v -Wall -O2 -fomit-frame-pointer -m68020-60 -s
-o eg_lib_src.o eg_lib_src.c

Paul