.96 GCC patch

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
User avatar
Chris
Posts: 2983
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Chris »

Code: Select all

windres -o obj/zdoom.o -i src/win32/zdoom.rc
stdout: No error
c:\gnu\mingw\bin\windres.exe: can't open icon file `icon1.ico': No such file or directory windres -o obj/zdoom.o -i src/win32/zdoom.rc
stdout: No error
c:\gnu\mingw\bin\windres.exe: can't open icon file `icon1.ico': No such file or directory
Perhaps there's an option to tell windres to search other directories? What does "windres --help" output?
Costja
Posts: 188
Joined: Mon Oct 18, 2004 3:58 pm
Location: Russia, Moscow
Contact:

Post by Costja »

To fix it I changed the "$(OBJDIR)/%.o : %.rc" line in makefile.mingw to "$(OBJDIR)/%.o : %.res"
Costja
Posts: 188
Joined: Mon Oct 18, 2004 3:58 pm
Location: Russia, Moscow
Contact:

Post by Costja »

Chris wrote:Perhaps there's an option to tell windres to search other directories? What does "windres --help" output?

Code: Select all

Usage: c:\gnu\mingw\bin\windres.exe [option(s)] [input-file] [output-file]
 The options are:
  -i --input=<file>            Name input file
  -o --output=<file>           Name output file
  -I --input-format=<format>   Specify input format
  -O --output-format=<format>  Specify output format
  -F --target=<target>         Specify COFF target
     --preprocessor=<program>  Program to use to preprocess rc file
     --include-dir=<dir>       Include directory when preprocessing rc file
  -D --define <sym>[=<val>]    Define SYM when preprocessing rc file
  -v --verbose                 Verbose - tells you what it's doing
     --language=<val>          Set language when reading rc file
     --use-temp-file           Use a temporary file instead of popen to read
                               the preprocessor output
     --no-use-temp-file        Use popen (default)
  -h --help                    Print this help message
  -V --version                 Print version information
FORMAT is one of rc, res, or coff, and is deduced from the file name
extension if not specified.  A single file name is an input file.
No input-file is stdin, default rc.  No output-file is stdout, default rc.
c:\gnu\mingw\bin\windres.exe: supported targets: pe-i386 pei-i386 elf32-i386 elf32-little elf32-big srec symbolsrec tekhex binary ihex
Report bugs to bug-binutils@gnu.org
User avatar
Chris
Posts: 2983
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Chris »

Okay, try this makefile.
User avatar
Bio Hazard
Posts: 4019
Joined: Fri Aug 15, 2003 8:15 pm
Location: ferret ~/C/ZDL $
Contact:

Post by Bio Hazard »

Chris wrote:Windows users are expected to want someone to hold their hand as they do anything.
didnt you want your hand held the first time you did something complex without any prior knowledge of it? :?
User avatar
Chris
Posts: 2983
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Chris »

didnt you want your hand held the first time you did something complex without any prior knowledge of it?
Sure. But I eventually want to let go. Windows doesn't easilly let you do that.
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

People who bash an operating system because of its default configuration never cease to amuse me. If you don't like the default setting, CHANGE IT. Holy shit, that was hard.
Costja
Posts: 188
Joined: Mon Oct 18, 2004 3:58 pm
Location: Russia, Moscow
Contact:

Post by Costja »

Chris wrote:Okay, try this makefile.
Thanks, it works.
User avatar
Chris
Posts: 2983
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Chris »

Updated archive.
User avatar
GeeDougg
Posts: 3651
Joined: Fri Jul 16, 2004 2:39 pm
Location: VanCity, British Colonies, Isolated Republic Of Canuckistan
Contact:

Post by GeeDougg »

Waxxy: People who defend massively-popular Operating Systems regardless of the retardedness also never cease to amaze me! :P
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

People who refuse to admit that maybe there's a reason an operating system is massively popular never cease to amuse me, either.... :roll:
User avatar
GeeDougg
Posts: 3651
Joined: Fri Jul 16, 2004 2:39 pm
Location: VanCity, British Colonies, Isolated Republic Of Canuckistan
Contact:

Post by GeeDougg »

People who don't realize why, and/or know the history behind the Windows series of Operating Systems (and what led to their popularity), never cease to amuse me either! :) :wink:
dennisj1
Posts: 399
Joined: Sun Jan 11, 2004 1:46 pm
Location: Superior, WI

Post by dennisj1 »

Hey, how do you open a .tar.bz2 in Windows (XP). I need a .ZIP.
User avatar
Chris
Posts: 2983
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Chris »

WinZip and WinRAR should handle it fine.
User avatar
GeeDougg
Posts: 3651
Joined: Fri Jul 16, 2004 2:39 pm
Location: VanCity, British Colonies, Isolated Republic Of Canuckistan
Contact:

Post by GeeDougg »

Use WinRAR. I used WinRAR and it worked....

Edit: Or WinZip.
Last edited by GeeDougg on Tue Jan 04, 2005 10:34 pm, edited 1 time in total.
Post Reply

Return to “General”