高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】borland compile options
borland compile options
borland compile options
what are the compile flags used for the borland libs?
i'd like to use the same options if possible.
it appears that "treat enum types as ints" (-b) was on. the default is off, which might explain the problem seen
in the dwgdirect reference, faq:
oddbdatabase::writefile() writes a zero length file using the bb6 version of dwgdirect.
this appears to be bb6 glitch. try using:
if (filetype==oddb::kdxf)
{
pdb->writefile(&fb, oddb::kdxf, outver);
}
else
{
pdb->writefile(&fb, oddb::kdwg, outver);
};
instead of:
pdb->writefile(&fb, filetype, outver);
i believe these are flags from our 'jam' configuration file.
-s c++flags="-twd -w-8027 -w-8026 -w-8066 -w-8022 -w-8004 -w-8057 -dwin32" -s od_lib_name=bb6wd -s od_platform=win -s od_path="c:\program files\borland\cbuilder6" -s od_platform_libs="" -s ar="tlib /p512"
|