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

Re: gcc 2.5.8



I have a port (based on andreas schwabs port) of gcc/g++ 2.6.3 
and libg++-2.6.3 that works wonderfully under mint. 

It is built with the MULTILIB stuff, i.e. libs are searched for in 
a directory tree dictated by the -mxxxxx switches specified. 

For example on my system, 

gcc -o test test.c     
will search for crt0.o and c.olb in ..../m68020

gcc -mbaserel -o test test.c     
will search for crt0.o and c.olb in ..../m68020/mbaserel

gcc -m68000 -mbaserel -o test test.c     
will search for crt0.o and c.olb in ..../m68000/mbaserel

I hand tuned the multilib.h file produced in the gcc distribution as 
to prune the tree as much as possible. 

Of course I do not keep a full library set in each directory.

You can guess from the first two entries that the m68020 directory is my 
defualt as I work only on a TT, but the -m68000 flags will build pure
68000 code fine. 

Should I upload this distribution to atari.archive.umich.edu?
Perhaps I will start a anonymous ftp archive if there is enough interest. 



cheers,
scott.


For the interested, the whole multilib tree I am using follows:

Directory				Switches
---------				--------

m68020					
m68020 					-m68020 
m68020 					-mc68020 
m68020/mbaserel 			-mbaserel
m68020/mshort 				-mshort
m68020/msoft-float 			-msoft-float
m68020 					-m68881
m68020/mshort/msoft-float 		-mshort   -msoft-float
m68020/mshort 				-mshort   -m68881
m68020/mbaserel/mshort 			-mbaserel -mshort 
m68020/mbaserel/msoft-float 		-mbaserel -msoft-float
m68020/mbaserel 			-mbaserel -m68881
m68020/mbaserel/mshort/msoft-float 	-mbaserel -mshort -msoft-float
m68020/mbaserel/mshort 			-mbaserel -mshort -m68881
m68020/mbaserel 			-m68020   -mbaserel 
m68020/mbaserel 			-mc68020  -mbaserel 
m68020/mshort 				-m68020   -mshort 
m68020/mshort 				-mc68020  -mshort 
m68020/msoft-float 			-m68020   -msoft-float
m68020/msoft-float 			-mc68020  -msoft-float
m68020 					-m68020   -m68881
m68020 					-mc68020  -m68881
m68020/mshort/msoft-float	 	-m68020   -mshort   -msoft-float
m68020/mshort/msoft-float 		-mc68020  -mshort   -msoft-float
m68020/mshort 				-m68020   -mshort   -m68881
m68020/mshort 				-mc68020  -mshort   -m68881
m68020/mbaserel/mshort 			-m68020   -mbaserel -mshort 
m68020/mbaserel/mshort 			-mc68020  -mbaserel -mshort 
m68020/mbaserel/msoft-float 		-m68020   -mbaserel -msoft-float
m68020/mbaserel/msoft-float 		-mc68020  -mbaserel -msoft-float
m68020/mbaserel 			-m68020   -mbaserel -m68881
m68020/mbaserel 			-mc68020  -mbaserel -m68881
m68020/mbaserel/mshort/msoft-float 	-m68020   -mbaserel -mshort -msoft-float
m68020/mbaserel/mshort/msoft-float 	-mc68020  -mbaserel -mshort -msoft-float
m68020/mbaserel/mshort 			-m68020   -mbaserel -mshort -m68881
m68020/mbaserel/mshort 			-mc68020  -mbaserel -mshort -m68881
m68000 					-m68000 
m68000 					-mc68000 
m68000/mbaserel 			-m68000  -mbaserel 
m68000/mbaserel 			-mc68000 -mbaserel 
m68000/mshort 				-m68000  -mshort 
m68000/mshort 				-mc68000 -mshort 
m68000 					-m68000  -msoft-float
m68000 					-mc68000 -msoft-float
m68000/m68881 				-m68000  -m68881
m68000/m68881			 	-mc68000 -m68881
m68000/mshort 				-m68000  -mshort   -msoft-float
m68000/mshort 				-mc68000 -mshort   -msoft-float
m68000/mshort/m68881 			-m68000  -mshort   -m68881
m68000/mshort/m68881 			-mc68000 -mshort   -m68881
m68000/mbaserel/mshort 			-m68000  -mbaserel -mshort 
m68000/mbaserel/mshort 			-mc68000 -mbaserel -mshort 
m68000/mbaserel 			-m68000  -mbaserel -msoft-float
m68000/mbaserel 			-mc68000 -mbaserel -msoft-float
m68000/mbaserel/m68881 			-m68000  -mbaserel -m68881
m68000/mbaserel/m68881 			-mc68000 -mbaserel -m68881
m68000/mbaserel/mshort 			-m68000  -mbaserel -mshort -msoft-float
m68000/mbaserel/mshort 			-mc68000 -mbaserel -mshort -msoft-float
m68000/mbaserel/mshort/m68881 		-m68000  -mbaserel -mshort -m68881
m68000/mbaserel/mshort/m68881 		-mc68000 -mbaserel -mshort -m68881