PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Suche Docs um Makefile zu übersetzen



soundoflife
30-04-2007, 10:23
Hallo!
Ich muss folgende Makefile in die gcc-Makefile übersetzen:

########################################
#/bin/tcsh

# Universal Schnittstelle
cd ./unv
make sgi
cd ..

# Ideas_Open_Architecture specific functions
cd ./acc0A
CC -I../include -DMS20 -DOA_SUPPORT -I/usr1/IDEAS_MS6/oadev.MS5/include -DSGI -o32 -DASG -c *.cc
cd ..

# Mould-Generator Functions
cd asg_src
CC -I../include -DMS20 -DOA_SUPPORT -I/usr1/IDEAS_MS6/oadev.MS5/include -DSGI -o32 -DASG -c *.cc
cd ..

# Linking the stuff with specialized Open_Architecture Library
CC -o32 -o ./bin/asg21_hv ./asg_src/*.o ./acc0A/*.o ./lib/rp_oalib_o32.a -lm

# Removing Object-Files
/bin/rm ./acc0A/*.o ./asg_src/*.o ./*.o_sgi
/bin/rm -rf ./acc0A/ii_files ./asg_src/ii_files

########################################


Kann mich jemand auf die Docs verweisen? Ich muss verstehen was die Optionen wie -DMS20 -DOA_SUPPORT -DSGI -o32 -DASG heissen.

Vielen Dank im Voraus

jeebee
30-04-2007, 10:27
-DFOO bedeutet dasselbe wie im code
#define FOO

-o32 weiss ich gerade nicht, gcc braucht
-o outfile aber das ist es wohl nicht

undefined
30-04-2007, 14:42
http://sources.redhat.com/automake/automake.html