freetype
[Top][All Lists]
Advanced

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

Re: [ft] Compiling freetype 2.3.9 with bcc fails


From: Mirco Babin
Subject: Re: [ft] Compiling freetype 2.3.9 with bcc fails
Date: Tue, 14 Jul 2009 13:09:04 +0200

Hello mpsuzuki,
 
I started from scratch, unzipping freetype-2.3.9.tar.gz.
I applied your patches to bcc.mk, bcc-dev.mk, win32-def.mk and exports.mk
 
Then I ran mingw32-make.
The apinames.exe is now build ok.
But building the library fails with the continuating error "Warning: invalid page size value ignored". This warning is repeating endlessly and I have to abort the make.
 
I have included the output of the mingw32-make.exe.
 
Regards,
Mirco
 
Kan c:\a\open\PoDoFo\freetype\objs\ftmodule.h niet vinden
Generating modules list in ./objs/ftmodule.h...
"* module: truetype  (Windows/Mac font files with extension *.ttf or *.ttc)"
"* module: type1     (Postscript font files with extension *.pfa or *.pfb)"
"* module: cff       (OpenType fonts with extension *.otf)"
"* module: cid       (Postscript CID-keyed fonts, no known extension)"
"* module: pfr       (PFR/TrueDoc font files with extension *.pfr)"
"* module: type42    (Type 42 font files with no known extension)"
"* module: winfnt    (Windows bitmap fonts with extension *.fnt or *.fon)"
"* module: pcf       (pcf bitmap fonts)"
"* module: bdf       (bdf bitmap fonts)"
"* module: sfnt      (helper module for TrueType & OpenType formats)"
"* module: autofit   (automatic hinting module)"
"* module: pshinter  (Postscript hinter module)"
"* module: raster    (monochrome bitmap renderer)"
"* module: smooth    (anti-aliased bitmap renderer)"
"* module: smooth    (anti-aliased bitmap renderer for LCDs)"
"* module: smooth    (anti-aliased bitmap renderer for vertical LCDs)"
"* module: psaux     (Postscript Type 1 & Type 2 helper module)"
"* module: psnames   (Postscript & Unicode Glyph name handling)"
done.
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -oobjs\ftsystem.obj src\base\ftsystem.c
src\base\ftsystem.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -oobjs\ftdebug.obj src\base\ftdebug.c
src\base\ftdebug.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -oobjs\ftinit.obj src\base\ftinit.c
src\base\ftinit.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\base -oobjs\ftbase.obj .\src\base\ftbase.c
.\src\base\ftbase.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\base -oobjs\ftbbox.obj src\base\ftbbox.c
src\base\ftbbox.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\base -oobjs\ftbdf.obj src\base\ftbdf.c
src\base\ftbdf.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\base -oobjs\ftbitmap.obj src\base\ftbitmap.c
src\base\ftbitmap.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\base -oobjs\ftcid.obj src\base\ftcid.c
src\base\ftcid.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\base -oobjs\ftfstype.obj src\base\ftfstype.c
src\base\ftfstype.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\base -oobjs\ftgasp.obj src\base\ftgasp.c
src\base\ftgasp.c:
Warning W8012 src\base\ftgasp.c 42: Comparing signed and unsigned values in function FT_Get_Gasp
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\base -oobjs\ftglyph.obj src\base\ftglyph.c
src\base\ftglyph.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\base -oobjs\ftgxval.obj src\base\ftgxval.c
src\base\ftgxval.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\base -oobjs\ftlcdfil.obj src\base\ftlcdfil.c
src\base\ftlcdfil.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\base -oobjs\ftmm.obj src\base\ftmm.c
src\base\ftmm.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\base -oobjs\ftotval.obj src\base\ftotval.c
src\base\ftotval.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\base -oobjs\ftpatent.obj src\base\ftpatent.c
src\base\ftpatent.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\base -oobjs\ftpfr.obj src\base\ftpfr.c
src\base\ftpfr.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\base -oobjs\ftstroke.obj src\base\ftstroke.c
src\base\ftstroke.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\base -oobjs\ftsynth.obj src\base\ftsynth.c
src\base\ftsynth.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\base -oobjs\fttype1.obj src\base\fttype1.c
src\base\fttype1.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\base -oobjs\ftwinfnt.obj src\base\ftwinfnt.c
src\base\ftwinfnt.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\base -oobjs\ftxf86.obj src\base\ftxf86.c
src\base\ftxf86.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\truetype -oobjs\truetype.obj .\src\truetype\truetype.c
.\src\truetype\truetype.c:
Warning W8012 .\src\truetype\ttpload.c 562: Comparing signed and unsigned values in function tt_face_get_device_metrics
Warning W8012 .\src\truetype\ttgload.c 1055: Comparing signed and unsigned values in function TT_Process_Composite_Glyph
Warning W8012 .\src\truetype\ttgload.c 1116: Comparing signed and unsigned values in function load_truetype_glyph
Warning W8012 .\src\truetype\ttinterp.c 6455: Comparing signed and unsigned values in function Ins_IUP
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\type1 -oobjs\type1.obj .\src\type1\type1.c
.\src\type1\type1.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\cff -oobjs\cff.obj .\src\cff\cff.c
.\src\cff\cff.c:
Warning W8012 .\src\cff\cffgload.c 412: Comparing signed and unsigned values in function cff_decoder_prepare
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\cid -oobjs\type1cid.obj .\src\cid\type1cid.c
.\src\cid\type1cid.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\pfr -oobjs\pfr.obj .\src\pfr\pfr.c
.\src\pfr\pfr.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\type42 -oobjs\type42.obj .\src\type42\type42.c
.\src\type42\type42.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\winfonts -oobjs\winfnt.obj .\src\winfonts\winfnt.c
.\src\winfonts\winfnt.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\pcf -oobjs\pcf.obj .\src\pcf\pcf.c
.\src\pcf\pcf.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\bdf -oobjs\bdf.obj .\src\bdf\bdf.c
.\src\bdf\bdf.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\sfnt -oobjs\sfnt.obj .\src\sfnt\sfnt.c
.\src\sfnt\sfnt.c:
Warning W8012 .\src\sfnt\ttload.c 193: Comparing signed and unsigned values in function check_table_dir
Warning W8012 .\src\sfnt\sfdriver.c 111: Comparing signed and unsigned values in function sfnt_table_info
Warning W8012 .\src\sfnt\ttbdf.c 180: Comparing signed and unsigned values in function tt_face_find_bdf_prop
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\autofit -oobjs\autofit.obj .\src\autofit\autofit.c
.\src\autofit\autofit.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\pshinter -oobjs\pshinter.obj .\src\pshinter\pshinter.c
.\src\pshinter\pshinter.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\raster -oobjs\raster.obj .\src\raster\raster.c
.\src\raster\raster.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\smooth -oobjs\smooth.obj .\src\smooth\smooth.c
.\src\smooth\smooth.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\cache -oobjs\ftcache.obj .\src\cache\ftcache.c
.\src\cache\ftcache.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\gzip -oobjs\ftgzip.obj .\src\gzip\ftgzip.c
.\src\gzip\ftgzip.c:
Warning W8012 .\src\gzip\inflate.c 89: Comparing signed and unsigned values in function inflateInit2_
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\lzw -oobjs\ftlzw.obj .\src\lzw\ftlzw.c
.\src\lzw\ftlzw.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\psaux -oobjs\psaux.obj .\src\psaux\psaux.c
.\src\psaux\psaux.c:
bcc32 -A  -I.\objs -I.\builds\win32 -I.\include -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H="<ftmodule.h>"  -I.\src\psnames -oobjs\psnames.obj .\src\psnames\psmodule.c
.\src\psnames\psmodule.c:
bcc32 -e.\objs\apinames.exe .\src\tools\apinames.c
CodeGear C++ 5.93 for Win32 Copyright (c) 1993, 2007 CodeGear
.\src\tools\apinames.c:
Turbo Incremental Link 5.81 Copyright (c) 1997-2008 CodeGear
.\objs\apinames.exe -oobjs/freetype.def -dfreetype.dll -wB ./include/freetype/freetype.h ./include/freetype/ftadvanc.h ./include/freetype/ftbbox.h ./include/freetype/ftbdf.h ./include/freetype/ftbitmap.h ./include/freetype/ftcache.h ./include/freetype/ftchapters.h ./include/freetype/ftcid.h ./include/freetype/fterrdef.h ./include/freetype/fterrors.h ./include/freetype/ftgasp.h ./include/freetype/ftglyph.h ./include/freetype/ftgxval.h ./include/freetype/ftgzip.h ./include/freetype/ftimage.h ./include/freetype/ftincrem.h ./include/freetype/ftlcdfil.h ./include/freetype/ftlist.h ./include/freetype/ftlzw.h ./include/freetype/ftmac.h ./include/freetype/ftmm.h ./include/freetype/ftmodapi.h ./include/freetype/ftmoderr.h ./include/freetype/ftotval.h ./include/freetype/ftoutln.h ./include/freetype/ftpfr.h ./include/freetype/ftrender.h ./include/freetype/ftsizes.h ./include/freetype/ftsnames.h ./include/freetype/ftstroke.h ./include/freetype/ftsynth.h ./include/freetype/ftsystem.h ./include/freetype/fttrigon.h ./include/freetype/fttypes.h ./include/freetype/ftwinfnt.h ./include/freetype/ftxf86.h ./include/freetype/t1tables.h ./include/freetype/ttnameid.h ./include/freetype/tttables.h ./include/freetype/tttags.h ./include/freetype/ttunpat.h
del .\objs\freetype.lib 2> nul
tlib /u objs\freetype.lib +.\objs\ftsystem.obj +.\objs\ftdebug.obj +.\objs\ftinit.obj +.\objs\ftbase.obj +.\objs\ftbbox.obj +.\objs\ftbdf.obj +.\objs\ftbitmap.obj +.\objs\ftcid.obj +.\objs\ftfstype.obj +.\objs\ftgasp.obj +.\objs\ftglyph.obj +.\objs\ftgxval.obj +.\objs\ftlcdfil.obj +.\objs\ftmm.obj +.\objs\ftotval.obj +.\objs\ftpatent.obj +.\objs\ftpfr.obj +.\objs\ftstroke.obj +.\objs\ftsynth.obj +.\objs\fttype1.obj +.\objs\ftwinfnt.obj +.\objs\ftxf86.obj +.\objs\truetype.obj +.\objs\type1.obj +.\objs\cff.obj +.\objs\type1cid.obj +.\objs\pfr.obj +.\objs\type42.obj +.\objs\winfnt.obj +.\objs\pcf.obj +.\objs\bdf.obj +.\objs\sfnt.obj +.\objs\autofit.obj +.\objs\pshinter.obj +.\objs\raster.obj +.\objs\smooth.obj +.\objs\ftcache.obj +.\objs\ftgzip.obj +.\objs\ftlzw.obj +.\objs\psaux.obj +.\objs\psnames.obj
TLIB 5.1 Copyright (c) 1987-2007 CodeGear
Warning: invalid page size value ignored
...


2009/7/14 <address@hidden>
Dear Mirco,

Could you try attached patch? Please revert my previous
patch (adding CCexe_CFLAGS etc) before applying this.
The patch changes APINAMES_EXE target more flexible and
"-e" is used to generate objs\apinames.exe.
I could build freetype.lib from GIT HEAD source + patch.

diff --git a/builds/compiler/bcc-dev.mk b/builds/compiler/bcc-dev.mk
index ba1a88a..b9229b4 100644
--- a/builds/compiler/bcc-dev.mk
+++ b/builds/compiler/bcc-dev.mk
@@ -52,7 +52,8 @@ L :=

 # Target flag -- no trailing space.
 #
-T := -o
+T  := -o
+TE := -e


 # C flags
diff --git a/builds/compiler/bcc.mk b/builds/compiler/bcc.mk
index 509cb72..ff385ed 100644
--- a/builds/compiler/bcc.mk
+++ b/builds/compiler/bcc.mk
@@ -52,7 +52,8 @@ L :=

 # Target flag -- no trailing space.
 #
-T := -o
+T  := -o
+TE := -e


 # C flags
diff --git a/builds/exports.mk b/builds/exports.mk
index 5452b35..52f2912 100644
--- a/builds/exports.mk
+++ b/builds/exports.mk
@@ -47,8 +47,8 @@ ifneq ($(EXPORTS_LIST),)
  #
  # Note that $(APINAMES_OPTIONS) is empty, except for Windows compilers.
  #
-  APINAMES_SRC := $(TOP_DIR)/src/tools/apinames.c
-  APINAMES_EXE := $(OBJ_DIR)/apinames$(E_BUILD)
+  APINAMES_SRC := $(subst /,$(SEP),$(TOP_DIR)/src/tools/apinames.c)
+  APINAMES_EXE := $(subst /,$(SEP),$(OBJ_DIR)/apinames$(E_BUILD))

  $(APINAMES_EXE): $(APINAMES_SRC)
         $(CCexe) $(TE)$@ $<
diff --git a/builds/win32/win32-def.mk b/builds/win32/win32-def.mk
index a82b146..e6ae31c 100644
--- a/builds/win32/win32-def.mk
+++ b/builds/win32/win32-def.mk
@@ -22,6 +22,7 @@ PLATFORM  := win32
 # The executable file extension (for tools). NOTE: WE INCLUDE THE DOT HERE !!
 #
 E := .exe
+E_BUILD := .exe


 # The directory where all library files are placed.




On Tue, 14 Jul 2009 16:08:24 +0900
>Hi,
>
>Thank you for the experiment, yes "-o" was the root of
>our bcc32 problem. I reached same conclusion. My misunderstanding
>about 1-step & 2-step was solved. I didn't receive the
>error you got (about HELLO.OBJ), but I agree with your
>observation that "-o" causes problem.
>
>Also thank you for the proposal to use "-n" option to
>specify the directory of the executable. But now I'm
>trying to use "-e" option to specify the pathname of
>the executable. If you have sparetime, please check
>"-e" accepts the pathname including directory, aslike
>
>       bcc32 -eobjs\apinames.exe src\tools\apinames.c
>
>In my environment, it finishes successfully, and
>apinames.exe does not crash.
>
>The reason why I try "-e" instead of "-n" is that the
>default output filename is dependent with the compilers.
>Most Unix compilers generates "a.out" from "hello.c",
>but bcc32 generates "hello.exe" from "hello.c" by default.
>So if I use "-n" and leave the output filename for
>compilers' default, we don't know the output filename.
>
>Regards,
>mpsuzuki
>
>On Tue, 14 Jul 2009 08:40:54 +0200
>Mirco Babin <address@hidden> wrote:
>
>>Hi,
>>
>>Compiling test.c fails:
>>bcc32 -ohello.exe hello.c
>>CodeGear C++ 5.93 for Win32 Copyright (c) 1993, 2007 CodeGear
>>hello.c:
>>Turbo Incremental Link 5.81 Copyright (c) 1997-2008 CodeGear
>>Fatal: Unable to open file 'HELLO.OBJ'
>>
>>This works:
>>bcc32 hello.c
>>CodeGear C++ 5.93 for Win32 Copyright (c) 1993, 2007 CodeGear
>>hello.c:
>>Turbo Incremental Link 5.81 Copyright (c) 1997-2008 CodeGear
>>
>>Hello.exe is created and works fine.
>>
>>
>>
>>I think your conclusion about the -o switch (it may not be used for an
>>executable name) is correct.
>>I found out that bcc32 -n./objs hello.c outputs the .obj and .exe file to
>>the ./objs subdirectory
>>
>>My conclusion about the current directory is wrong. It is the -o flag that
>>may not be used.
>>
>>Regards,
>>Mirco
>>
>
>
>_______________________________________________
>Freetype mailing list
>address@hidden
>http://lists.nongnu.org/mailman/listinfo/freetype


reply via email to

[Prev in Thread] Current Thread [Next in Thread]