[Top][All Lists]

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

[Tinycc-devel] How to link...?

From: Lostgallifreyan
Subject: [Tinycc-devel] How to link...?
Date: Mon, 13 Feb 2012 10:39:02 -0000

I recently started using TCC again, first time in over a year. I got a couple 
of small power-saving programs working (monitor and disk motor shutdown), then 
got ambitious and have fallen flat....

To use MIDI I need to link libwinmm.a from the GCC compiler (or winmm.lib from 
VC++). No matter what I try (having Googled for two days), I get the same 
errors every time, undefined symbols. Can TCC link these files at all, and if 
so, exactly how do I do it? (Using W98 SE).

My last effort:

TCC.EXE C:\WINDOWS\DESKTOP\TEST\MIDI.c -LE:\Coding\tcc\lib\libwinmm.a 

The C code was found online, as far as I know, all I had to do was add a line 
to it as follows, just after any include lines.
#pragma comment(lib,"libwinmm.a")

tcc: undefined symbol 'address@hidden'
tcc: undefined symbol 'address@hidden'
tcc: undefined symbol 'address@hidden'
tcc: undefined symbol 'address@hidden'

reply via email to

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