home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 28
/
amigaformatcd28.iso
/
-seriously_amiga-
/
misc
/
posbb
/
src
/
compiling
< prev
next >
Wrap
Text File
|
1998-05-09
|
867b
|
27 lines
To compile posbb just type
make <target>
target can be "generic","amigaos","all".
You can change some defaults adding to your command line
CC = <compiler> ,default gcc
CCFLAGS = <compiler flags> ,default -O3
LDFLAGS = <linker flags> ,default -noixemul -lm -s
OUTNAME = <name of the executable> ,default posbb
The last paarmeter is important: you should call the executable something like
<cpu>-<os>-posbb.
For example:
m68k-amigaos-posbb
i386-win32-posbb
m68k-netbsd-posbb
ppc-amigaos-posbb
i386-linux-posbb
...
So it will be simplier for the users to understand for what system the executable is.
The Amiga version has a file,compiler.h,which contains some compiler specific stuff.
If you have to do some changes to compile,send me the changes so I'll add them to the
distribution and al future versions of posbb will become 100% compatible with your compiler.